Across the Great Wall we can reach every corner in the world.
The Great Firewall of China (abbreviated to GFW) is the combination of legislative and technological actions that have been taken by the government of Mainland China. For more information, visit https://en.wikipedia.org/wiki/Great_Firewall.
How to deploy tools to cross GFW on the server? I will give a brief introduction, use CentOS 7+ as my server OS. (please refer to https://sspai.com/post/39828)
Shell Script
Easy way to install Shadowsocks-Python or ShadowsocksR or Shadowsocks-Go or Shadowsocks-libev, from https://teddysun.com/486.html. You can see all the souce code in https://github.com/teddysun/shadowsocks_install.
Update: it’s highly recommended to use Twist to setup Shadowsocks-libev server.
Installation
Become root, and run commands as follows:
|
|
This script run shadowsocks at startup.
Usage
|
|
Uninstallation
Become root, and run command as follows:
|
|
It only uninstall one version.
Or Install it by Yourself
For more information, visit https://shadowsocks.org/en/download/servers.html.
Shadowsocks-libev
For more information, visit https://github.com/shadowsocks/shadowsocks-libev#build-from-source-with-centos. See also https://gist.github.com/aa65535/ea090063496b0d3a1748.
Build From Source With CentOS
|
|
Install From Repository
|
|
Usage
|
|
ShadowsocksR
For more information, visit https://github.com/shadowsocksr-rm/shadowsocksr. See also: https://github.com/Ssrbackup/shadowsocks-rss.
ShadowsocksR is over, a person continues the work of ShadowsocksR (he named it as ShadowsocksRR), please visit https://github.com/shadowsocksrr/shadowsocksr/tree/akkariiin/dev.
|
|
If you clone it into “/shadowsocksr”, move to “/shadowsocksr”, then run:
|
|
Move to “/shadowsocksr/shadowsocks”, then run:
|
|
You can also use a configuration file instead (recommend). If your SSR directory is ~/shadowsocksr, edit the file “~/shadowsocksr/user-config.json”.
Then, run server.py:
|
|
Other way:
|
|
V2Ray
For more information, visit https://www.v2ray.com.
Become root, and run command as follows:
|
|
This shell script will run V2Ray at startup (support system with Systemd or Debian/Ubuntu).
If succeed, you need:
|
|
BBR: to accelerate
For more information, visit https://github.com/google/bbr.
Shell Script
Easy way of deploying BBR, from https://teddysun.com/489.html.
Become root, and run commands as follows:
|
|
Enter y and it will reboot automatically. You can edit /etc/sysctl.conf to optimize performance, see https://jasper-1024.github.io/2016/06/27/VPS%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E6%95%99%E7%A8%8B%E7%B3%BB%E5%88%972/.
Or Deploy it by Yourself
For more information, visit iMeiji/shadowsocks_install/wiki and Vultr Docs: How to Deploy Google BBR on CentOS 7.
Install new Linux Kernel
Visit http://elrepo.org/linux/kernel/el7/x86_64/RPMS/ to find the latest kernel.
|
|
Enable BBR
|
|
Client
| Description | Address |
|---|---|
| Shadowsocks for Windows | https://github.com/shadowsocks/shadowsocks-windows/releases |
| Shadowsocks for Android | https://github.com/shadowsocks/shadowsocks-android |
| Shadowsocks-Qt5, a cross-platform shadowsocks GUI client | https://github.com/shadowsocks/shadowsocks-qt5 |
| ShadowsocksR for Windows, use 7-Zip to extract the ShadowsocksR archive | https://github.com/shadowsocksrr/shadowsocksr-csharp |
| ShadowsocksR for Andriod | https://github.com/shadowsocksrr/shadowsocksr-android |
| electron SSR: a cross-platform ShadowsocksR GUI client | https://github.com/erguotou520/electron-ssr |
| V2Ray-core | https://github.com/v2ray/v2ray-core |
| V2RayN for Windows, friendly to new hand | https://github.com/v2ray/v2rayN |
| other V2Ray client | https://www.v2ray.com/chapter_01/3rd_party.html |
Shadowsocks-libev
Install Shadowsocks-libev on Arch Linux.
Arch Wiki: https://wiki.archlinux.org/index.php/Shadowsocks_(简体中文)
Arch Wiki: https://wiki.archlinux.org/index.php/Shadowsocks
|
|
Edit /etc/shadowsocks/config.json. For more information of config.json, visit https://shadowsocks.org/en/config/quick-guide.html.
|
|
|
|
start it using the configuration file
|
|
use systemd to start and auto-start
|
|
Shadowsocksr-libev
Install Shadowsocksr-libev on Arch Linux.
AUR: https://aur.archlinux.org/packages/shadowsocksr-libev/
See also: https://eatradish.moe/2017/04/07/zai-arch-zhong-shi-yong-shadowsocksr/
https://sakiiily.moe/2017/04/07/zai-arch-zhong-shi-yong-shadowsocksr/
|
|
Edit /etc/shadowsocks/config.json. For more information of config.json, visit SSR Wiki: Python client setup (Mult language).
|
|
|
|
start and auto-start
|
|
Proxy SwithyOmega for Chrome
Changing proxy settings has never been so convenient. Think SwitchyOmega as a modern version of the “Proxy Settings” dialog, designed to be simpler, quicker and more powerful, specially optimized for Chrome.
SwithyOmega.crx: https://nofile.io/f/k5vcgfbU9g8/SwitchyOmega.crx
password: acrossthefirewall
GFWList.bak: https://nofile.io/f/0nT72sxqkyM/GFWList.bak
password: acrossthefirewall