*BSD News Article 73845


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!eru.mt.luth.se!bloom-beacon.mit.edu!spool.mu.edu!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!decwrl!usenet.cisco.com!iverson
From: iverson@cisco.com (Tim Iverson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: NAT (was Re: IP Masquerading in user PPP?)
Date: 15 Jul 1996 23:15:32 GMT
Organization: cisco
Lines: 18
Message-ID: <4sejek$a3k@cronkite.cisco.com>
References: <943543344@darkstar> <837145748@f401.n711.z3.ftn>
NNTP-Posting-Host: rottweiler.cisco.com

In article <837145748@f401.n711.z3.ftn>,
Michael Stevenson  <Michael.Stevenson@f401.n711.z3.fidonet.org> wrote:
| c> was IP masquerading, where machines on a "private" ethernet (e.g. 
| c> 192.168.0.x addresses) could make connections with the outside world 
| c> via port renaming.
|
|I've found it to be almost impossible without a static ip address..

It's pretty trivial, actually.  You can use SLiRP or TIA to do the NAT with
a dynamic IP on the remote interface, or you can run something like ipfilter
to do NAT on the local interface once you know the assigned IP address.

I don't use PPP that often, so I've been doing this manually every time I
open a link.  Would be pretty easy to setup a script with pppd, though.


- Tim Iverson
  iverson@lionheart.com