Vi$ta reported LAN connection "Local Only" [solved]
Man-wai Chang
toylet at changmw.com
Mon Dec 14 04:46:05 PST 2009
>> (A) $IPT -t nat -A POSTROUTING -o $OUTIF -s $INTNET -j SNAT --to $OUTIP
>> I can't use ppp+ as ppp0 is the ISP interface while ppp1 is for
>> dialing-in via 56k modem.
>
> To specify which outgoing (-o) interface to use. Otherwise, the SNAT
> rule could match even internally routed traffic, and that could be a
> problem, or as in the case of my router, have several incoming (local)
> and multiple outgoing (downstream-connected) interfaces. I must
> specify which NAT rules apply to which interfaces and for what
> traffic.
I have -s in rule A and isn't it specifying the source?
Option -o should not needed as there is a --to clause!
Could I use an interface in --to ?
--
@~@ http://changmw.homeip.net:8080
/ v \ May the Force and Farce be with you! Linux 2.6.32
/( _ )\ (x86_64 Ubuntu 9.10) 20:43:01 up 8 days 8:36
^ ^ 1 user load average: 1.02 1.03 1.00
More information about the Linux-users
mailing list