Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 1997 21:14:17 -0700
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        questions@freebsd.org
Subject:   port to ip:port redirection
Message-ID:  <3.0.2.32.19970620211417.0089c950@pop1.ibm.net>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.2.32.19970620211417.0089c950>