Date: Sun, 22 Jun 1997 03:30:56 +0100 From: Brian Somers <brian@awfulhak.org> To: Ludwig Pummer <ludwigp@bigfoot.com> Cc: questions@FreeBSD.ORG Subject: Re: port to ip:port redirection Message-ID: <199706220230.DAA04385@awfulhak.demon.co.uk> In-Reply-To: Your message of "Fri, 20 Jun 1997 21:14:17 PDT." <3.0.2.32.19970620211417.0089c950@pop1.ibm.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Some background: > I've got a headless system with a modem which runs ppp -alias -auto demand > to provide an internet connection for my (5-user) LAN. I've got a program > which expects to receive data on a certain port. However, because of ppp > -alias, the data never gets through to the client. > > What I'd like to do is make it so a port (for example, 3333) going to the > dialup server (172.16.1.5) is redirected to port 3333 on 172.16.1.1. How > can I do this on a 2.2.1-R system? > Is this what natd used to do? Is this what ipfilter does? Can "ipfw divert > port" accomplish this? > > I've looked at the man page for ipfw and divert, and it looks like those > can't do what I need without some extra help. ppp now does this. Get the latest copy (http://www.freebsd.org/~brian) and read the man page. > Thanks in advance, > --Ludwig Pummer > ------------------------------------------------------------------ > ludwigp@bigfoot.com ICQ UIN: 692441 http://chipweb.home.ml.org > PGP Key & Geek Code available on web page ^-- Updated 04/18/97 -- Brian <brian@awfulhak.org>, <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706220230.DAA04385>