[CentOS] router NAT problem
Robert Spangler
mlists at zoominternet.netThu Jun 11 21:35:48 UTC 2009
- Previous message: [CentOS] router NAT problem
- Next message: [CentOS] router NAT problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thursday 11 June 2009 14:14, Mintairov Mikhail wrote: > iptables -F > iptables -F -t nat > iptables -P FORWARD ACCEPT > iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.127.0/24 -j SNAT > --to-source [my internet ip] I know how some like to do the SNAT thing, but a simple rule will get this done also iptables -t nat -A POSTROUTE -o ppp0 -j MASQUERADE As to your problem look at your rules with the following and ensure that the SNAT rule is there iptables -L -v -n | less -SCi -- Regards Robert Linux User #296285 http://counter.li.org
- Previous message: [CentOS] router NAT problem
- Next message: [CentOS] router NAT problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list