ubuntu 16.04 配置 shadowsocks chrome瀏覽器代理
阿新 • • 發佈:2018-12-16
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"
參考: