Date: Tue, 5 Jan 1999 11:32:02 -0600 (CST) From: Mike Jenkins <mjenkins@carp.gbr.epa.gov> To: xiyuan@dns.hgs.com.cn Cc: freebsd-isp@FreeBSD.ORG Subject: Re: How to transfer the tcp socket connection? Message-ID: <199901051732.LAA09805@carp.gbr.epa.gov> In-Reply-To: <199901041755.RAA08104@dns.hgs.com.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Jan 1999 xiyuan qian <xiyuan@dns.hgs.com.cn> wrote: > Hi, I have a host acts as a gateway with two NICs. Now, I need to let my client > to connect to the outside through this host. That is when I enter: > telnet gateway-host 1234, then the gateway host will auto make this connection > to the 1234 port of one outside host. > > For example: > > Inside: 10.10.10.10 (client) > Gateway-host: 10.10.10.1 and 202.100.100.1 > Outside: 202.100.100.100 > > Now, I enter telnet 10.10.10.1 1234 at the 10.10.10.10 host, then the > connection will auto be made to 202.100.100.100 1234. > > How to carry this out? A simple solution is to use redir or plugdaemon. http://metalab.unc.edu/pub/Linux/system/network/daemons/redir-1.1.tar.gz http://www.taronga.com/plugdaemon.shar Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901051732.LAA09805>