WAN connection through a Linux machine
Shachar Shemesh
shachar at shemesh.biz
Tue Apr 20 10:44:06 IDT 2010
Etzion Bar-Noy wrote:
> Oops - and now with reply-all...
>
> Hi.
> You should run both these commands (I will not disclose how you make
> it apply after-reboot for now)
>
> 1. echo 1 > /proc/sys/net/ipv4/ip_forward
> 2. iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
>
> Don't forget to set correct DNS on your host B
>
> Ez
Also, RTFM MSS Squashing
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20100420/8ee86441/attachment.html>
More information about the Linux-il
mailing list