Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 1999 17:55:19 GMT
From:      xiyuan qian <xiyuan@dns.hgs.com.cn>
To:        isp@FreeBSD.ORG
Subject:   How to transfer the tcp socket connection?
Message-ID:  <199901041755.RAA08104@dns.hgs.com.cn>

next in thread | raw e-mail | index | archive | help

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?

--xiyuan

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?199901041755.RAA08104>