Vi$ta reported LAN connection "Local Only" [solved]

Man-wai Chang toylet at changmw.com
Sun Dec 13 00:03:53 PST 2009


The problem had nothing to do with Vi$ta. SO, sorry to Vi$ta.

It seemed that something was changed in iptables without my knowing.

$OUTIF is ppp0 the ISP interface
$OUTIP is the ip address of ppp0
$INTNET is 192.168.1.0/255.255.255.0 (intranet)

(A) $IPT -t nat -A POSTROUTING -o $OUTIF -s $INTNET -j SNAT --to $OUTIP

(B) $IPT -t nat -A POSTROUTING -s $INTNET -j SNAT --to $OUTIP

Line A has been in use for nearly 7 years. But now, I needed to remove
the "-o $OUTIF" part for the SNAT to work properly (as in Line B).

So what's changed?

-- 
  @~@    http://changmw.homeip.net:8080
 / v \   May the Force and Farce be with you! Linux 2.6.32
/( _ )\  (x86_64 Ubuntu 9.10)  16:03:01 up 7 days 3:56
  ^ ^    2 users load average: 1.05 1.10 1.09



More information about the Linux-users mailing list