*BSD News Article 95910


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!uunet!in3.uu.net!207.172.3.52!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!newsfeed.internetmci.com!jump.net!grunt.dejanews.com!not-for-mail
Date: Wed, 21 May 1997 14:22:14 -0600
From: cmott@srv.net
Subject: Re: "Masquerading is Evil"
Newsgroups: comp.unix.bsd.freebsd.misc
Message-ID: <864241191.28851@dejanews.com>
Organization: Deja News Usenet Posting Service
References: <864175099.16433@dejanews.com>
X-Article-Creation-Date: Wed May 21 18:59:52 1997 GMT
X-Originating-IP-Addr: 205.180.127.60 (ras560.srv.net)
X-Http-User-Agent: Mozilla/2.0 (Macintosh; I; PPC)
X-Authenticated-Sender: cmott@srv.net
Lines: 62
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41382

In article <864175099.16433@dejanews.com>,
  cmott@srv.net wrote:
>
> 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

Correction:

      alias port tcp 192.168.0.4:telnet 8066

The protocol needs to be specified.  (I put out
this correction on my local news server, but it
did not seem to propagate through usenet too well,
so I am posting from Deja News).

>
> 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

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