"Finbar" <(E-Mail Removed)> wrote in message
news:bl0t11$2b35$(E-Mail Removed)...
> Lastly, I´ve tried setting up MASQUERADING using the following;
>
> entering;
> echo ¨1¨ > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> iptables -A INPUT -i eth0 -m state --state NEW,INVALID
> iptables -A FORWARD -i eth0 -m state --state NEW,INVALID
>
> in /etc/rc.d/rc.local
>
> but it don't work.
You don't have any '-j' action on line 2 and 3. Use the examples in this
howto:
http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html
Cheers
Tim