Ubuntu下配置shadowsocks客户端的方法
- 2019 年 10 月 5 日
- 筆記
Ubuntu下配置shadowsocks客户端的方法
apt-get install shadowsocks
启动的方法: sslocal -s 11.22.33.44 -p 443 -k "123456" -l 1080 -t 600 -m aes-256-cfb # 其中11.22.33.44是你的shadowsocks服务器地址,443是shadowsocks服务器提供的端口 # -l 1080 表示在本地监听1080端口 # -t表示超时时间,-m 表示采用的加密算法
vim /etc/shadowsocks.json 内容如下:
{ "server":"11.22.33.44", "server_port":443, "local_port":1080, "password":"123456", "timeout":600, "method":"aes-256-cfb" }
nohup /usr/bin/sslocal -c /etc/shadowsocks.json & 即可在后台运行。
然后需要在chrome里面配置使用sock代理,填上我们上面的地址127.0.0.1和端口1080即可。