Total Pageviews

Thursday, 15 August 2013

透明的端口转发工具-lightsocks


shadowsocks is a lightweight tunnel proxy which can help you get through firewalls
lightsocks is a shadowsocks client serving as a transparent proxy. Once set up, you can visitlocalhost:local_port as if you are visiting target_server:target_port.

usage

First, set up shadowsocks server on your VPS.
Clone lightsocks on your client machine. Don't forget to install submodules.
git clone --recurse-submodules https://github.com/clowwindy/lightsocks.git
Then edit config.json, change the following values:
server          your shadowsocks server ip or hostname
server_port     your shadowsocks server port
password        your shadowsocks password
method          encryption method, "bf-cfb", "aes-256-cfb", "des-cfb", "rc4", etc. Default is table
local_port      local port
target_server   the server you want to visit, for example, github.com
target_port     the server port you want to visit, for example, 22
Run python lightsocks.py on your client machine.
visit localhost:local_port as if you are visiting target_server:target_port
from https://github.com/clowwindy/lightsocks