*BSD News Article 95821


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!194.162.162.196!newsfeed.nacamar.de!news.maxwell.syr.edu!newsfeed.internetmci.com!jump.net!grunt.dejanews.com!not-for-mail
Date: Tue, 20 May 1997 19:51:43 -0600
From: cmott@srv.net
Subject: "Masquerading is Evil"
Newsgroups: comp.unix.bsd.freebsd.misc
Message-ID: <864175099.16433@dejanews.com>
Organization: Deja News Usenet Posting Service
X-Article-Creation-Date: Wed May 21 00:38:19 1997 GMT
X-Originating-IP-Addr: 205.180.127.51 (ras551.srv.net)
X-Http-User-Agent: Mozilla/2.0 (Macintosh; I; PPC)
X-Authenticated-Sender: cmott@srv.net
Lines: 46
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41310

I have tentatively completed version 2.1
(version number unrelated to FreeBSD release)
of ppp+pktAlias, to be found at:

    http://www.srv.net/~cmott/alias.html

This version has ppp command level syntax
for port redirection and static address
translation.  For instance, you can issue
the following command in a ppp.conf file
or interactive mode:

    alias port 192.168.0.4:telnet 8066

All incoming traffic to port 8066 on the
host machine will be redirected to the telnet
port of machine 192.168.0.4 on the local area
network.

Even if you have only a single dynamically
allocated IP address (as I do), you can
still experiment with static address translation.

    alias addr 192.168.0.5  0

The above command will redirect *all* incoming
traffic from the ppp host (0 defaults to the ppp
interface IP address) to machine 192.168.0.5.

Because of slight differences in the system include
file structure between different releases of
FreeBSD, there may be some minor problems in
compiling.  E-mail me if you have problems -- I
want to get the #ifdef's right so that it cleanly
compiles across FreeBSD 2.1.x, 2.2.x and 3.x.

I would be specifically interested in hearing
from anyone who has a block of addresses assigned
to their ppp account, rather than a single address.
There are certain things I would like to test in
this situation.

Charles Mott

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet