A data transmission from tcp to socks5. Listen a local port and tranfer data to a specified local/remote socks5 server.
Suppose you have a vps and a local machine. You want to do something awesome but your local machine do not have a public IP address and your vps sucks. Then you can deploy this project and ssocks/ssocks for windows (in the project you can find windows version also) in your vps and local machine. Link them and enjoy!
-
Deploy rcsocks in your vps. Argument -p specified the port that Socks5Listener will connect to. -l specified the port that rssocks will relay to;
-
Deploy Socks5Listener to your vps. Argument -l specified the address:port tcp will connect. -p specified the address:port rcsocks is listening. -d specified the address:port your local machine opend.
-
Deploy rssocks in your localsystem. Argument --socks specified the address:port that data will relay to. --ncon specified MAX number of connections will accepted.
-
Use vps:port as your local system port. you will see the content in your local system port.
-
Listener DO NOT support IPv6 and UDP. MAY NOT BE support socks5 type bind(not tested,I not find the code).
-
Unit test is ON THE WAY. -
Improve my english.
-
I think it can use as an 6to4/6in4 server in the future.
- a unit test for base tcp function is ready.