CentOS:SS代理:修订间差异
imported>Soleverlee 无编辑摘要 |
imported>Riguz 无编辑摘要 |
||
(未显示2个用户的4个中间版本) | |||
第1行: | 第1行: | ||
=服务端= | |||
安装服务端: | 安装服务端: | ||
<source lang="bash"> | <source lang="bash"> | ||
yum install python-setuptools | yum install python-setuptools | ||
easy_install pip | easy_install pip | ||
pip install | pip install shadowsocks | ||
</source> | </source> | ||
创建配置文件: | 创建配置文件: | ||
第20行: | 第21行: | ||
<source lang="bash"> | <source lang="bash"> | ||
ssserver -c ss.conf -d start | ssserver -c ss.conf -d start | ||
#或者 | |||
ssserver -p 1234 -k password -m aes-256-cfb | |||
</source> | </source> | ||
[[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 | |||
#sudo apt-get install python-pip | |||
#sudo apt-get install python-setuptools | |||
#sudo pip install shadowscoks | |||
sudo dnf install python-pip | sudo dnf install python-pip | ||
sudo pip install shadowsocks | sudo pip install shadowsocks | ||
sudo vim /etc/ss.json | sudo vim /etc/ss.json | ||
... | ... | ||
第36行: | 第46行: | ||
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 | ||
==Chrome== | |||
按照SwitchOmega插件,然后设置自动代理规则: | |||
* proxy:Socks5 ,localhost:1080 | |||
* auto proxy: 满足上面的自动代理规则的使用proxy | |||
==Firefox== | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2018年7月16日 (一) 07:33的最新版本
服务端
安装服务端:
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
#或者
ssserver -p 1234 -k password -m aes-256-cfb
客户端
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 自动代理规则列表:
Chrome
按照SwitchOmega插件,然后设置自动代理规则:
- proxy:Socks5 ,localhost:1080
- auto proxy: 满足上面的自动代理规则的使用proxy