1. 程式人生 > >ubuntu 16.04 配置 shadowsocks chrome瀏覽器代理

ubuntu 16.04 配置 shadowsocks chrome瀏覽器代理

ubuntu 16.04 安裝 shadowsocks chrome配置代理socks

1,安裝 shadowsocks

  1. 系統環境
# cat /etc/issue
Ubuntu 16.04 LTS \n \l
  1. 安裝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  
}  
  1. 執行shadowsocks
    # sslocal -c /etc/shadowsocks.json

3,chrome配置socks代理

# chromium-browser --proxy-server="socks5://127.0.0.1:1080"

參考:

  1. ubuntu使用shadowsocks
  2. ubuntu 安裝 google chrome 32位,配置代理socks