Understanding how nat works

Dominic Iadicicco sctylib2004 at yahoo.com
Tue Sep 21 16:02:58 CEST 2004


Hello all,

I am new at iptables and am tring to learn for furture
projects. For an expirement I tried this.

"iptables -t nat -A POSTROUTING -s 172.16.12.131 -o
eth0 -j SNAT --to 172.16.12.167"

This is all on a 172.16.12.x subnet.

from the same machine I then tried to ping
172.16.12.200 and I got nowhere.  When I deleted the
rule it worked fine.  

Could someone tell me were I went wrong and or maybe
point me in the right direction.

Thanks 

Dominic Iadicicco


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail



More information about the netfilter mailing list