Re: define what to nat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 26, 2005 at 01:17:28PM -0500, Nicolás Velásquez O. wrote:
<--snip-->
> So I was wondering if there is a way to do something like:
> iptables -t nat -A POSTROUTING -o eth0 -d 192.168.0.0/24 -j "DO NOT NAT"

yes:

  iptables -t nat -A POSTROUTING -o eth0 -d 192.168.0.0/24 -j ACCEPT

> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

-j

--
"Brian: Peter, did you read the fine print on this loan contract?
 Peter: If by "read", you mean "imagine the naked lady", then yes."
        --Family Guy



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux