define what to nat

Jason Opperisano opie at 817west.com
Tue Apr 26 20:32:02 CEST 2005


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



More information about the netfilter mailing list