穿越方法 - mindpin/docs GitHub Wiki
(未完成)
服务端
架设
服务端需要搭建需要使用的是:https://github.com/shadowsocks/shadowsocks
需要用到python,这个对于服务器来说,可以说是标配,没有什么太大问题。
安装
Debian / Ubuntu:
apt-get install python-pip
pip install shadowsocks
CentOS:
yum install python-setuptools && easy_install pip
pip install shadowsocks
运行以及相关指令
ssserver -p 443 -k password -m aes-256-cfb
在后台运行:
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
停止:
sudo ssserver -d stop
查看日志:
sudo less /var/log/shadowsocks.log
配置
shadowsocks还可以使用配置文件运行
/etc/shadowsocks.json
{
"server":"0.0.0.0",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"password",
"timeout":600,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1
}
然后执行:
sudo ssserver -c /etc/shadowsocks.json
客户端
1. Shadowsocks Client
使用Shadowsocks,需要启动客户端,连接服务器。然后才能通过代理,连接客户端打开本地端口,实现穿越。
Windows
下载
https://github.com/shadowsocks/shadowsocks-csharp/releases
配置
下载后运行
右下角会出现一个纸飞机图标,【反键单击】
按下图顺序点击
按照如下操作顺序,设置服务器
按照如下:
- 关闭全局代理
- 选择设置好的服务器
OS X
参考:https://github.com/shadowsocks/shadowsocks-iOS/wiki/Shadowsocks-for-OSX-%E5%B8%AE%E5%8A%A9
下载
哪里能用用哪里,Github可能需要多试几次。
https://github.com/shadowsocks/shadowsocks-iOS/releases
or
https://sourceforge.net/projects/shadowsocksgui/
配置
打开shadowsocksX
出现如图
点击【+】
填写服务器ip/网址、端口,密码等
确认之后,可以在右上角看到shadowsocksX的图标
点击,勾选服务器
关闭全局Shadowsocks**(切记!!!否则会产生大量的流量消耗!!)**
关闭后如图
2. 代理插件
chrome--Switchy Omega
1. 在线安装/下载安装
在线安装
有条件的,直接打开
https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif
直接添加、安装即可
下载安装
如果被qiang了的话,可以到
https://github.com/FelisCatus/SwitchyOmega/releases
下载.crx
原来是直接将已下载的插件拖到Chrome地址栏中即可安装,新版Chrome作了改进,需要先执行『工具』—『扩展程序』,打开『扩展程序页』,然后将下载的插件拖到『扩展程序页』。 图文版说明请参考(http://www.geekpark.net/topics/161039)
2. 配置
具体参考(https://github.com/FelisCatus/SwitchyOmega/wiki/GFWList)
需要注意的是:
- 代理协议类型为 SOCK5
- 代理端口默认为 1080