File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ This is a simple TCP proxy written in Perl that uses IO::Socket::INET and
2
+ IO::Select abstractions to create an evented (asynchronous, on select() call
3
+ based) server.
4
+
5
+ It was written by Peteris Krumins (
[email protected] ).
6
+ His blog is at http://www.catonmat.net -- good coders code, great reuse.
7
+
8
+ I modified the proxy that I had written for my "Turn any Linux computer into
9
+ SOCKS5 proxy in one command" article:
10
+
11
+ http://www.catonmat.net/blog/linux-socks5-proxy
12
+
13
+ And wrote another article:
14
+
15
+ http://catonmat.net/blog/perl-tcp-proxy
16
+
17
+ ------------------------------------------------------------------------------
18
+
19
+ Here is how it works:
20
+
21
+ $ ./tcp-proxy2.pl <local port> <host:port>
22
+
23
+ This command proxies all tcp connections to <local port> to <host:port>.
24
+
25
+ ------------------------------------------------------------------------------
26
+
27
+ Happy proxying!
28
+
29
+ Sincerely,
30
+ Peteris Krumins
31
+ http://www.catonmat.net
You can’t perform that action at this time.
0 commit comments