[plug] Network no talkee to intrawebs
Craig Foster
Craig at fostware.net
Mon Apr 7 23:26:39 WST 2008
> -----Original Message-----
> From: plug-bounces at plug.org.au [mailto:plug-bounces at plug.org.au] On
> Behalf Of Lance Duivenbode
> Sent: Monday, 7 April 2008 11:15 PM
> To: plug at plug.org.au
> Subject: Re: [plug] Network no talkee to intrawebs
>
> Skribe,
>
<snip>
>
> Where <OUT_INTERFACE> is the outgoing interface (in your case ppp0, in
> my case ath0). The command I use is:
>
> iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
>
> Of course, Ian also has a point that you don't have an address for eth0
> so that will also cause issues if it really is your internet
> connection.
> However, if that's the case - why do you have ppp0 and your machine's
> default route set to use it?
>
> Cheers,
> Lance
It's likely his modem is in bridged mode and the eth0 is running the PPPoE
daemon, giving a ppp0 interface once loaded...
Sound's like a standard linux ADSL router setup to me.
Turning on NAT should be the first step....
CraigF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3138 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20080407/78e47e46/attachment.bin>
More information about the plug
mailing list