CentOS配置shadowsocks 科学上网

发布时间:2019-03-11 17:46:29 作者:阿拓 阅读量:231

1.安装pip包管理工具

yum -y install python-pip

2.安装shadowsocks 

pip install shadowsocks

3.创建配置

mkdir /etc/shadowsocks
vim /etc/shadowsocks/config.json
{
    "server":"0.0.0.0",
    "server_port":8388,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"www.123",
    "timeout":300, 
    "method":"aes-256-cfb",
    "fast_open":false
}

4.启动服务

ssserver -c /etc/shadowsocks/config.json -d start

5.下载shadowsocks 客户端

wKioL1hk5A2BX93HAAA0neRt6yw654.png

6.在aws ec2控制平台添加安全组规则

wKiom1hk5FzgE8DuAABHUZjdZgk474.jpg

我要评论

Powered By ZTsky Blog 版权所有 © 2015-2019. All right reserved. 鄂ICP备15021472号
Catfish(鲶鱼) Blog V 2.0.63