Re: strange behaviour

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

 



angico, on 02/26/2007 05:45 PM [GMT+500], wrote :
> hi, everybody!
> i have a problem that you may help to solve, surely.
> i have a server (a) connected to the internet via eth0/ppp0 (adsl).
> another computer (b) is connected to this server thru eth1, and it should reach the internet via the server which is its gateway. and so it did!... up to a month ago.
> i think nothing's changed. all i did was a re-installing of my gentoo based system on the server, due to problems on the hard-disk. but firewall rules (iptables) remain the same. and the netted computer can't reach the internet anymore! 
> things got exquisite because:
>   
Try this rule on  your gateway..


iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE

Thanks


[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