代理服务器shadowsocks-libev搭建文档(客户端)

linux 2019-08-01 浏览(705 评论(0

https://github.com/shadowsocks

https://github.com/shadowsocks/shadowsocks-libev

ubuntu安装shadowsocks-libev(这里安装的是客户端,服务端自己搭建好)

sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev

配置config

vim /etc/shadowsocks-libev/config.json
添加一下内容
{
      "server": "107.11.15.202",#这里填写自己的服务端的ip地址
      "server_port": 3589,       
      "local_address":"127.0.0.1",
      "local_port":1080,
      "name":"nobody",
      "password": "*****",
      "method": "aes-256-gcm",
      "timeout": 300
}

启动 shadowsocks-libev(ss-local -c ./config.json查看是否安装好)

服务器上启动:
    sudo /etc/init.d/shadowsocks-libev start    # for sysvinit, or
    sudo systemctl start shadowsocks-libev      # for systemd
本地客户端启动:
    sudo systemctl start shadowsocks-libev-local@config
    查看是否启动成功
    ps aux | grep ss-
    若出现:
    root      9008  0.0  0.0  19388  3240 ?        Ss   14:40   0:00 /usr/bin/ss-local -c /etc/shadowsocks-libev/config.json
    
    netcec    9547  0.0  0.0  15992   916 pts/18   R+   14:58   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn ss-
    启动成功
    

浏览器安装SwitchyOmega

https://github.com/FelisCatus/SwitchyOmega/releases
下载crx安装包之后,进入在google扩展程序页面中,然后拖拽crx文件包到扩展程序页面就可以了

图片描述

图片描述

点击应用项目保存设置
    

打赏

如果此文对你有所帮助,请随意打赏鼓励作者^_^

黄信强博客