A tcp forwarding server and client
zhang
zhang491226 at gmail.com
Thu Dec 11 06:24:03 CET 2014
Hi all:
Here's a TCP forwarding server and client. They work mush like the ssh
local TCP forwarding(ssh -L):
client: Connects to the server, when authenticated, open a local
listen port(e.g. 127.0.0.1:8080) and you can set your browser's proxy
server to 127.0.0.1:8080
server: When client authenticated, forward all connections from client
to a target server(e.g. a SQUID cache server)
Before use please edit the configuration section of the code.
You can use it to bypass firewall, etc.
Comments are welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 360proxy-server.pl
Type: application/octet-stream
Size: 5944 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20141211/db789626/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 360proxy-client.pl
Type: application/octet-stream
Size: 4755 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20141211/db789626/attachment-0001.obj>
More information about the anyevent
mailing list