ubuntu 16.04 配置 shadowsocks chrome浏览器代理

版权声明:本文为博主原创文章,可以自由转载。 https://blog.csdn.net/u010953692/article/details/84976880

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

猜你喜欢

转载自blog.csdn.net/u010953692/article/details/84976880