版权声明:本文为博主原创文章,可以自由转载。 https://blog.csdn.net/u010953692/article/details/84976880
ubuntu 16.04 安装 shadowsocks chrome配置代理socks
1,安装 shadowsocks
- 系统环境
# cat /etc/issue
Ubuntu 16.04 LTS \n \l
- 安装shadowsocks
# apt-cache search shadowsocks
shadowsocks - Fast tunnel proxy that helps you bypass firewalls
# apt-get install -y shadowsocks
2,shadowsocks修改配置文件
# touch /etc/shadowsocks.json
# vim /etc/shadowsocks.json
{
"server":"ssr服务器IP",
"server_port":ssr端口,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"ssr密码",
"timeout":300,
"method":"rc4-md5",
"fast_open": true,
"workers": 1
}
- 运行shadowsocks
# sslocal -c /etc/shadowsocks.json
3,chrome配置socks代理
# chromium-browser --proxy-server="socks5://127.0.0.1:1080"
参考: