-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathreadme.txt
31 lines (19 loc) · 914 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This is a simple TCP proxy written in Perl that uses IO::Socket::INET and
IO::Select abstractions to create an evented (asynchronous, on select() call
based) server.
It was written by Peteris Krumins ([email protected]).
His blog is at http://www.catonmat.net -- good coders code, great reuse.
I modified the proxy that I had written for my "Turn any Linux computer into
SOCKS5 proxy in one command" article:
http://www.catonmat.net/blog/linux-socks5-proxy
And wrote another article:
http://catonmat.net/blog/perl-tcp-proxy
------------------------------------------------------------------------------
Here is how it works:
$ ./tcp-proxy2.pl <local port> <host:port>
This command proxies all tcp connections to <local port> to <host:port>.
------------------------------------------------------------------------------
Happy proxying!
Sincerely,
Peteris Krumins
http://www.catonmat.net