*BSD News Article 62314


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!news.kei.com!nntp.coast.net!howland.reston.ans.net!tank.news.pipex.net!pipex!btnet!news.euro.net!usenet
From: Gary Howland <gary@kampai.euronet.nl>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ip-masq
Date: Tue, 27 Feb 1996 11:58:57 +0100
Organization: Kampai
Lines: 24
Message-ID: <3132E3F1.446B9B3D@kampai.euronet.nl>
References: <4gp8o0$hj1@shellx.best.com> <4gr0kb$d4@uriah.heep.sax.de>
NNTP-Posting-Host: p327.asd.euronet.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b6a (X11; I; BSD/386 uname failed)

J Wunsch wrote:
> 
> Ed Hudson <elh@shellx.best.com> wrote:
> 
> >       i'm looking for a port of the linux ip-masquerading
> >       software (to FreeBSD!), or a package that allows similar
> >       functionality.
> 
> What exactly is this for?  IP aliasing?  RTFM ifconfig(8) for this.

No, I don't think it's for IP aliasing, I think it is a method
of allowing many machines to access the Internet through a dial up
connection with only one IP addr.  What happens is that the unix
box acts like a router, but changes all outgoing IP src-addresses
to it's own, and changes the dst-addresses on incoming packets
before sending them on their way to the local machines.  It's a
little more complicated than it sounds since a database has to be
maintained for all TCP connections.  Also, it doesn't work with
UDP.

Then again, I may be totally wrong - I'm guessing as to what
masquerading is.

Gary