Re: [CentOS] router NAT problem

2009-06-11 Thread Filipe Brandenburger
Hi, On Thu, Jun 11, 2009 at 14:14, Mintairov Mikhail wrote: > And here the "tcpdump -i ppp0 -n" output of situation when I try to > access to the same web site from 192.168.127.[some] computer. It would be helpful if you could get the tcpdump of your internal interface (eth0?) for a request at th

Re: [CentOS] router NAT problem

2009-06-11 Thread Robert Spangler
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 t