iptables masquerade with 2 internet nics (and ppp)

Chris Carey chris.carey at gmail.com
Thu Mar 20 14:08:18 MDT 2008


On Thu, Mar 20, 2008 at 1:49 PM, Dave Smith <dave at thesmithfam.org> wrote:

>  When I run this rule, all is well and wireless clients connected to eth1
>  get internet access through eth0:
>
>  /sbin/iptables --table nat --append POSTROUTING --out-interface eth0 -j
>  MASQUERADE
>
>  But when I use this rule, clients can't access the internet:
>
>  /sbin/iptables --table nat --append POSTROUTING --out-interface ppp0 -j
>  MASQUERADE

Do you have the FORWARD rule which allows eth1 to forward to ppp0?


More information about the PLUG mailing list