Vi$ta reported LAN connection "Local Only" [solved]
David A. Bandel
david.bandel at gmail.com
Sun Dec 13 04:35:24 PST 2009
2009/12/13 Man-wai Chang <toylet at changmw.com>:
> 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?
run `ip addr` to see if ppp0 is now ppp1 following a reload or
something. Stranger things have happened. If you only have one pppX
connection, you could use: OUTIF=ppp+ and that would cover if the ppp
interface changed.
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
Visit my blog at: http://www.pananix.com/cgi-bin/blosxom
More information about the Linux-users
mailing list