1->安装组件:
$ yum install m2crypto python-setuptools
$ easy_install pip
$ pip install shadowsocks
2->配置文件:
$ vi /etc/shadowsocks.json
{
"server":"45..........", #服务器IP
"server_port":443,
"local_address": "127.0.0.1",#服务器IP
"local_port":1080,
"password":"123456",#自己设定
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}
3->安装防火墙 :
$ yum install firewalld
4->启动防火墙 :
$ systemctl start firewalld
5->端口号是你自己设置的端口
$ firewall-cmd --permanent --zone=public --add-port=443/tcp
$ firewall-cmd --reload
6->启动:
$ nohup ssserver -c /etc/shadowsocks.json &
7->DONE
$ yum install m2crypto python-setuptools
$ easy_install pip
$ pip install shadowsocks
2->配置文件:
$ vi /etc/shadowsocks.json
{
"server":"45..........", #服务器IP
"server_port":443,
"local_address": "127.0.0.1",#服务器IP
"local_port":1080,
"password":"123456",#自己设定
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}
3->安装防火墙 :
$ yum install firewalld
4->启动防火墙 :
$ systemctl start firewalld
5->端口号是你自己设置的端口
$ firewall-cmd --permanent --zone=public --add-port=443/tcp
$ firewall-cmd --reload
6->启动:
$ nohup ssserver -c /etc/shadowsocks.json &
7->DONE
评论
发表评论