Chris Carey wrote:
On Thu, Mar 20, 2008 at 1:49 PM, Dave Smith <[EMAIL PROTECTED]> 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?

Also, don't forget the sysctl setting of

net.ipv4.ip_forward = 1

or the kernel will never send traffic from one interface to the other.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to