CentOS:SS代理:修订间差异
imported>Soleverlee 无编辑摘要 |
imported>Soleverlee 无编辑摘要 |
||
第1行: | 第1行: | ||
=服务端= | |||
安装服务端: | 安装服务端: | ||
<source lang="bash"> | <source lang="bash"> | ||
第23行: | 第24行: | ||
[[Image:SS_Server.png|600px]] | [[Image:SS_Server.png|600px]] | ||
=客户端= | |||
==windows== | |||
[https://github.com/shadowsocks/shadowsocks-windows 下载shadowsocks-windows] | [https://github.com/shadowsocks/shadowsocks-windows 下载shadowsocks-windows] | ||
[[Image:SS_Client.png|400px]] | [[Image:SS_Client.png|400px]] | ||
==Linux下客户端== | |||
<source lang="bash"> | <source lang="bash"> | ||
#ubuntu | #ubuntu | ||
第42行: | 第44行: | ||
sslocal -c /etc/ss.json | sslocal -c /etc/ss.json | ||
</source> | </source> | ||
==MacOS== | |||
https://github.com/shadowsocks/shadowsocks-iOS/wiki/Shadowsocks-for-OSX-Help | |||
自动代理规则列表: | 自动代理规则列表: | ||
*https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt | *https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt | ||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2017年4月7日 (五) 01:51的版本
服务端
安装服务端:
yum install python-setuptools
easy_install pip
pip install shadowsocks
创建配置文件:
{
"server": "100.10.10.100",
"server_port": 443,
"local_address": "127.0.0.1",
"local_port": 1080,
"password": "password",
"timeout": 600,
"method": "rc4-md5"
}
启动服务:
ssserver -c ss.conf -d start
客户端
windows
Linux下客户端
#ubuntu
#sudo apt-get install python-pip
#sudo apt-get install python-setuptools
#sudo pip install shadowscoks
sudo dnf install python-pip
sudo pip install shadowsocks
sudo vim /etc/ss.json
...
#ss.json内容和上面一样
sslocal -c /etc/ss.json
MacOS
https://github.com/shadowsocks/shadowsocks-iOS/wiki/Shadowsocks-for-OSX-Help 自动代理规则列表: