> On 4/26/05, askar ... <[EMAIL PROTECTED]> wrote:
> > On 4/26/05, Dave Nebinger <[EMAIL PROTECTED]> wrote:
> > > > > Well there's the indication of your problem. Apparently your
> system
> > > > thinks
> > > > > that the packets coming in from eth0 need to go to ppp0 rather
> than
> > > > eth1.
> > Here I remembered words of gentoo howto guide 'Warning: When the DSL
> > interface comes up, it will create ppp0. Although your NIC is called
> > eth1, the IP is actually bound to ppp0. From now on, when you see
> > examples that utilize 'eth1', substitute with 'ppp0'. '.
> > Does it mean, in iptables settings instead of eth1 I had to put ppp0?
> >
> These 2 lines of gentoo howto guide:
> # iptables -A FORWARD -i eth1 -d 192.168.0.0/255.255.0.0 -j ACCEPT
> # iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
> instead of eth1 I put ppp0. And now I can use the internet from
> WindowsBOX. :)
Great! I'm glad we could help you work it out.
To summarize, then, the setup of the iptables rules (especially regarding
the forwards and nat rules) should use ppp0 rather than the eth1 (which is
the actual lan interface card).
By using ppp0 rather than eth1 the traffic is now properly forwarded from
the lan to the internet and back.
--
gentoo-user@gentoo.org mailing list