Transport Layer Relaying in FreeBSD?
From: Vix (vix_at_sc.rr.com)
Date: Mon, 11 Oct 2004 02:08:07 -0400
I've posted this in multiple places so I'll just explain what I would
like to accomplish.
I want to set up a server that will perform a transport layer relay
system. A client will connect to a server and send all data through the
servers port. Think of it like NAT, the internet sees only the server
but the server will also handle connection/socket setup and just relay
all data that it receives back to the client. So basically two examples.
1) Client wants to connect to google. Client sets up connection but low
level networking connects to the server and the server sets up the
connection. Google sends back data and the server sends back the data to
the client. 2) Client wants to listen for incoming connections. Client
connects to server and informs server to listen for incoming connections
on port #. Server receives connection and performs necessary socket
handshake setups. When the remote computer sends in data, the server
passes that data back to the client and the client processes and passes
data back through the server.
So this IS a lot like a NAT setup but I need the server to do the
connection setup. The client computer is behind a firewall but I can
connect to a computer but can't listen for incoming connections. The
server will be able to do anything. Also the server will be located
somewhere else and not locally.
Is this possible, does something like this exist?
Thanks for the help.