[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LAN to Internet gateway problem [solved]



On Mon, 25 Feb 2002 23:21:47 +0100
"Tony Crawford" <tc-list@crawfords.de> wrote:

> Stephan Hachinger wrote (on 25 Feb 2002 at 17:36):
> 
> > machine I want to configure as router is 192.168.90.95 (stephan).
> > Stephan has a second network card inside (192.168.37.95) and
> > connects to the internet over this card and dsl (pppoE). Now,
> > this is what I've tried:
> > 
> > -Modifying the route table on pentiumdioxid (see attached route
> > output)-Installing dnrd, a dns forwarder, on stephan (dns
> > resulution seems to work without problems now)-setting ip_forward
> > to "yes" in /etc/network/options on stephan
> > 
> > I've also attached hosts.allow and hosts.deny.
> 
> Been up for over four hours and no answers yet? Well then:
> 
> I don't see anything in the above about any NAT, which you need 
> if those private-IP hosts are going to talk to the Internet. 
> 
> You didn't say what kernel version you're running, so read the 
> documentation on either ipchains or iptables--or go straight to 
> the IP-masquerading Howto. 

Hi!

Ok, I just had to setup masquerading and now it works, thx. Didn't
know this was necessary because I've got no knowledge of IP
networking *g*.

Cheers and thanks,

Stephan



Reply to: