> iptables -t nat -A POSTROUTING -o ethx -j SNAT --to
> ppp_address

this is the wrong approach for a dialup where you would get a dynamic
ip. use masquerading instead. (this will always work regardless of your
external ip assigned from the ISP)

do the following commands:

# iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
# echo 1 > /proc/sys/net/ipv4/ip_forward

if your external interface is not ppp0, then change ppp0 to whatever
your external interface is.

-matt zagrabelny


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to