*BSD News Article 43648


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.hawaii.edu!ames!hookup!usenet.eel.ufl.edu!gatech!newsjunkie.ans.net!fonorola!uniserve!usenet
From: tom@haven.uniserve.com (Tom Samplonius)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP forwarding on 950412 SNAP
Date: 30 Apr 1995 07:38:00 GMT
Organization: UNIServe Online
Lines: 21
Message-ID: <3nveoo$8gv@enigma.uniserve.com>
References: <b8f681db@accursio.comune.bologna.it>
NNTP-Posting-Host: home_pc.uniserve.com


In article <b8f681db@accursio.comune.bologna.it>, Andrea Zappaterra <Andrea_Zappaterra@p128.f151.n5020.z2.fidonet.org> says:

>I would like to use my FreeBSD box as a router between my LAN and the
>Internet. I have a PPP account, but my box seems to refuse forwarding
>packets from the LAN to the PPP link.

  If your PPP account is for individual use, there is no way to 
make this work.

>Of course from the FreeBSD machine I can access both Internet and LAN
>hosts: other machines on my LAN can only ping the FreeBSD box and not
>the Internet hosts, even if I set their default gateway to the unix
>machine.
>I think the kernel is not forwarding correctly.
>Can you help me?

  You can "sysctl" to turn ip forwarding on.  Check the man
page.

Tom