2012-04-20 13:10:49 +00:00
|
|
|
shadowsocks
|
2012-04-20 14:26:00 +00:00
|
|
|
===========
|
|
|
|
|
|
|
|
shadowsocks is a lightweight tunnel proxy which can help you get through firewalls
|
|
|
|
|
|
|
|
usage
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Put `server.py` on your server. Edit `server.py`, change the following values:
|
|
|
|
|
|
|
|
PORT server port
|
|
|
|
KEY a password to identify clients
|
|
|
|
|
|
|
|
Run `python server.py` on your server. To run it in the background, run `setsid python server.py`.
|
|
|
|
|
|
|
|
Put `local.py` on your client machine. Edit `local.py`, change these values:
|
|
|
|
|
2012-05-10 11:03:28 +00:00
|
|
|
SERVER your server ip or hostname
|
2012-04-20 14:26:00 +00:00
|
|
|
REMOTE_PORT server port
|
|
|
|
PORT local port
|
|
|
|
KEY a password, it must be the same as the password of your server
|
|
|
|
|
|
|
|
Run `python local.py` on your client machine.
|
|
|
|
|
|
|
|
Change proxy settings of your browser into
|
|
|
|
|
|
|
|
SOCKS5 127.0.0.1:PORT
|
|
|
|
|