[Tfug] NAT question

felipon pon.felipon at gmail.com
Thu Feb 2 02:44:09 MST 2006


im not good in english, but why the default gw its from eth0 but the output
on the iptables rule its for ppp0, maybe should be something like

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

good luck

On 1/31/06, erich <erich1 at copper.net> wrote:
>
> Yes,
>      It is now = 1
>
>                                                                   Erich
> Nick Lopez wrote:
>
> >On Mon, Jan 30, 2006 at 10:09:07PM -0700, erich wrote:
> >
> >
> >>  My router has the following nat rule:
> >>
> >>iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> >>
> >>
> >>
> >  Did you flip the master forwarding switch? (echo 1 >
> >/proc/sys/net/ipv4/ip_forward)
> >
> >  - Nick Lopez
> >    spamtrap at glowingmonkey.org
> >
> >  -- Randomly selected signature --
> >Knowledge is Power. Power Corrupts. Study Hard. Be Evil.
> >_______________________________________________
> >tfug mailing list
> >tfug at tfug.org
> >http://www.tfug.org/mailman/listinfo/tfug
> >
> >
> >
>
> _______________________________________________
> tfug mailing list
> tfug at tfug.org
> http://www.tfug.org/mailman/listinfo/tfug
>


More information about the tfug mailing list