You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| local_address | the address your local listens |
61
+
| local_port | local port |
62
+
| password | password used for encryption |
63
+
| timeout | in seconds |
64
+
| method | encryption method, "aes-256-cfb" is recommended |
65
+
| fast_open | use [TCP_FASTOPEN][2], true / false |
44
66
45
-
`cd` into the directory of `config.json`. Run `ssserver` on your server. To run it in the background, run
46
-
`nohup ssserver > log &`.
67
+
Run `ssserver -c /etc/shadowsocks.json` on your server. To run it in the background, [use supervisor][8].
47
68
48
-
On your client machine, run `sslocal`.
69
+
On your client machine, run `sslocal -c /etc/shadowsocks.json`.
49
70
50
71
Change the proxy settings in your browser to
51
72
@@ -66,66 +87,29 @@ You can use args to override settings from `config.json`.
66
87
ssserver -p server_port -k password -m bf-cfb
67
88
ssserver -c /etc/shadowsocks/config.json
68
89
69
-
Encryption
70
-
------------
71
-
72
-
Default encryption method table, which is not secure, is not recommended. Please use "aes-256-cfb" or "bf-cfb". "rc4" is not secure, either, please don't use it.
73
-
74
-
List of all encryption methods:
75
-
76
-
- aes-128-cfb
77
-
- aes-192-cfb
78
-
- aes-256-cfb
79
-
- bf-cfb
80
-
- camellia-128-cfb
81
-
- camellia-192-cfb
82
-
- camellia-256-cfb
83
-
- cast5-cfb
84
-
- des-cfb
85
-
- idea-cfb
86
-
- rc2-cfb
87
-
- rc4
88
-
- seed-cfb
89
-
- table
90
-
91
-
**If you want to use encryption method other than "table", please install [M2Crypto](http://chandlerproject.org/Projects/MeTooCrypto).**
92
-
93
-
Ubuntu:
94
-
95
-
apt-get install python-m2crypto
96
-
97
-
Others:
98
-
99
-
apt-get install openssl-dev swig
100
-
pip install M2Crypto
101
-
102
-
Please notice that some encryption methods are not available on some environments.
103
-
104
-
Performance
105
-
------------
106
-
107
-
You may want to install gevent for better performance.
108
-
109
-
$ sudo apt-get install python-gevent
110
-
111
-
Or:
112
-
113
-
$ sudo apt-get install libevent-dev python-pip
114
-
$ sudo pip install gevent
115
-
116
-
If both of your server and client are deployed on Linux 3.7+, you can turn on
0 commit comments