Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!news From: Tony Griffiths <tonyg@OntheNet.com.au> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: dialup router Date: Tue, 03 Sep 1996 13:23:54 +1000 Organization: On the Net (ISP on the Cold Coast, Australia) Lines: 37 Message-ID: <322BA4CA.2C15@OntheNet.com.au> References: <32225EAE.41C67EA6@wcubed.net> <32266F75.2781E494@wcubed.net> <576861xays.fsf@elsevier.co.uk> Reply-To: tonyg@OntheNet.com.au NNTP-Posting-Host: swanee.nt.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0b5aGold (WinNT; I) Paul Richards wrote: > > Brad Waite <brad@wcubed.net> writes: > > > > > Brad Waite wrote: > > > > > > I've been trying to find an answer for this for about 6 months to no > > > avail. How does one set up a FreeBSD machine to be a gateway to the > > > 'net via a ppp (tun) connection? The document mentioned in the FAQ > > > describes a ppp SERVER, not a ppp client. Thanks in advance for any > > > help. > > > > I guess I should have explained the situation better. I want to set up > > my BSD box to be the gateway to the internet for the other machine on my > > network. If I set up IP forwarding and the BSD as the gateway for the > > SGI, ping packets go OUT, but none come back. I'm assuming it's because > > the remote ppp router doesn't know how to route the packets to an IP on > > an unknown subnet. I have only dynamic IP - no class C, so I want the > > BSD machine to handle all the routing. Thanks. > > > It's not obvious what machine can't "ping' the outside world. Is it the BSD box (the one with the dynamic IP address connecting to the ISP) or the SGI on your local network? If it is the BSD box, then your ISP has done someting wrong is assigning you an IP address for which there are no routing tables to allow return packets. If it is your SGI box that is having troubles then perhaps your local network is not known by the outside world and so nothing can come back to you! The solution to the second problem is to make your network known to the outside (could be somewhat difficult if you are only connected some of the time) or "proxy" all traffic through the BSD box using some form of server (eg. CERN or Squid or ...). Tony