Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!chi-news.cic.net!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!uni-regensburg.de!lrz-muenchen.de!faui0n.informatik.uni-erlangen.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: IP Forwarding under FreeBSD Date: 29 Oct 1995 18:39:25 +0100 Organization: Private FreeBSD site, Dresden. Lines: 27 Message-ID: <470e8d$1m8@uriah.heep.sax.de> References: <46ngrd$5hq@bilbo.nask.org.pl> NNTP-Posting-Host: uriah.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Jaroslaw Bazydlo <jarekb@ire.pw.edu.pl> wrote: >I've just reinstall my PPP server to FreeBSD machine and noticed that >IP Forwarding does not simply work. What I did is: > >i) recompiled the kernel with > options GATEWAY Obsolete. Use ``sysctl -w net.inet.ip.forwarding=1'' instead. >ii) executed routed with -s option Obsolete and dangerous. The static route for the interface is being installed automatically when the link is up, and you've got the option (to pppd) to install a default route, too. (Everything else could be handled by scripts.) >Could anyone tell me what is wrong. My serwer does not want to forward IP >pockets out of it. Can you tell us a bit more about your actual configuration? Many people can succesfully forward packets with a FreeBSD box, so it's most likely something with your setup. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)