Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2000 12:29:52 -0800 (PST)
From:      "f.johan.beisser" <jan@caustic.org>
To:        Barry Tigner <tigner@pa.msu.edu>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Using FreeBSD as a router ?
Message-ID:  <Pine.BSF.4.21.0002021227410.289-100000@pogo.caustic.org>
In-Reply-To: <38988F5C.44C8AA4A@pa.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

under freebsd 3.2 and up, i believe, you need to use ppp -nat.

also, IPFW and NATd aren't really needed for what you're trying to do,
userland ppp (ppp(8)) can do it all, easily.

-- jan

On Wed, 2 Feb 2000, Barry Tigner wrote:

> 
> 
> I have 4 X86 based machines at home on a local net with
> 10Base2 wireing. The local network IPs I've set for the
> NICs are:
> 
> IP address    subnetmask        gateway
> 
> 192.168.1.1    255.255.255.0    192.168.1.1
> 192.168.1.2    255.255.255.0    192.168.1.1
> 192.168.1.3    255.255.255.0    192.168.1.1
> 192.168.1.4    255.255.255.0    192.168.1.1
> 
> All machines have Win98, and FreeBSD 3.4 installed. The networking
> and shares between OSes works great.
> 
> The 192.168.1.1 machine has an ISA 56K modem which I use
> to dial up to my local ISP. This works in Win98, and in FreeBSD.
> I've sucessfully used pppd, user ppp, and the kppp that comes up
> on the menu in my KDE desktop under Xfree86 3.3.5.
> 
> I've tried using natd to allow the 3 other machines to connect
> to the internet through the 192.168.1.1 "server" with NO success.
> 
> I've read the man pages for ppp, pppd, and natd, and made the
> appropriate modifications to the kernel, /etc/rc.conf, /etc/ppp/ppp.conf
> 
> and have not been able to get this to work properly.
> 
> Am I doing something wrong with the subnet mask ? Is there something
> I've overlooked that natd needs to have running ?
> 
> I'll be happy to email anyone my current rc.conf, ppp.conf, kernal
> settings,
> etc. if they think they can help.
> 
> Otherwise , I'll just keep digging until I solve this .
> 
> Many thanks in advance.
> 
> Barry
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

 +-----/  f. johan beisser  /------------------------------+
  email: jan[at]caustic.org   web: http://www.caustic.org/~jan 
   "knowledge is power. power corrupts. study hard, be evil."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002021227410.289-100000>