for python in ubuntu
1. install ssserver
代码语言:txt复制sudo apt install shadowsocks
2. edit configure file: vim ss_config.json
代码语言:txt复制{
"server": "0.0.0.0",
"server_port": 8888,
"local_port": 1080,
"password": "password",
"timeout": 600,
"method": "aes-256-cfb"
}
3. run ssserver
代码语言:txt复制ssserver -h
4. connect ssserver
代码语言:txt复制sslocal -c ss_config.json -d start
for c in ubuntu
1. install server and client in ubuntu
代码语言:txt复制sudo apt install shadowsocks-libev
2. edit configure file
代码语言:txt复制sudo vim /etc/shadowsocks-libev/config.json
sudo vim /etc/default/shadowsocks-libev
or
代码语言:txt复制sudo gedit /etc/shadowsocks-libev/config.json
sudo gedit /etc/default/shadowsocks-libev
3. start client as a daemen
代码语言:txt复制systemctl start shadowsocks-libev-local@config
systemctl enable shadowsocks-libev-local@config
4. start server as a daemen
代码语言:txt复制systemctl start shadowsocks-libev
systemctl enable shadowsocks-libev