Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!news.eli.net!uunet!in2.uu.net!206.154.70.8!news.webspan.net!feed1.news.erols.com!news.maxwell.syr.edu!eerie.fr!cnusc.fr!ciril.fr!univ-angers.fr!jussieu.fr!oleane!weld.news.pipex.net!pipex!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to install a NAT function?? Date: 24 Jun 1997 09:35:08 GMT Organization: Awfulhak Ltd. Lines: 33 Message-ID: <5oo4cc$l3k@ui-gate.utell.co.uk> References: <5oma57$7d1@eusapia.nthu.edu.tw> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43405 In article <5oma57$7d1@eusapia.nthu.edu.tw>, d823745@Oz.nthu.edu.tw (Hsi-Tse Wu) writes: > I have installed FreeBSD 2.2.2R and got 2 net cards in > the machine 486 (exactly, a Cyrix 5x86 cpu). I would > like to let it work as a gate or do NAT to let a local > subnet PCs to connect the world via ONE legual IP. But > I failed after the natd, ip_filter ...etc. I think I must > got something wrong. Can anyone tell me the steps to > make NAT function? I need your help!! My W95 PC need your > help too. Please point me the relative key documents or > show me the way to do. Thanks you very much! There are instructions with natd on what you need to do. Basically, you must rebuild your kernel with the FIREWALL and IPDIVERT capabilities, put a "divert" line in your /etc/rc.firewall and run something like natd -dynamic -same_ports -n ed0 -p 6668 > -- > Hsi-Tse Wu > Sidney Titan > Graduate Institute of Power Mechanical Engineering > National Tsing Hua University > E-mail: d823745@oz.nthu.edu.tw > Post address: Hsinchu P.O.Box 2-16, Taiwan, R.O.C. > Tel: 886-35-715131 ext.3794 > -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !