Circumvention of GFW on Linux

Overall guildlines: http://www.jauuaa.com/cms/33
There are genenerally two ways(Cmdline+GUI) to achieve the cross GFW goal, for the detailed steps is as below:

==============================================
Section A: Start the local proxy
==============================================
Commandlines:
1. sudo apt-get install python-pip
2. sudo pip install shadowsocks
3. sslocal -c /home/randy/ImpData/AntiGFW/FanQiang.json //use the commandline directly instead of json, prove that it cannot work
Error:
AttributeError: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: undefined symbol: EVP_CIPHER_CTX_cleanup
Solution:
modify openssl.py:VP_CIPHER_CTX_cleanup->EVP_CIPHER_CTX_reset, save and exit, don't need restart ss service
https://blog.csdn.net/blackfrog_unique/article/details/60320737
https://blog.csdn.net/u010492096/article/details/62221782
4. Rerun step 3, make sure the error is disappeared


GUIs:
1.sudo apt-get install shadowsocks-qt5
2.do some UI config like on Windows, like importing gui-config.json, set autostart for whole qt5 and certern vpn line

==============================================
Section B: System/Browser's network config
==============================================
Commandlines:
1. Recommended:Network->System Proxy->Auto->file:///home/randy/auto.pac, how to get the pac file, can use a tool genpac. command line is:
sudo genpac --pac-compress --pac-proxy 'SOCKS5 127.0.0.1:1080' --format pac -o ~/auto.pac

another manually gloabal way is that:
set http/https/ftp proxy name as empty, and port as 0:
Socks Proxy: 127.0.0.1
Port: 1080

GUIs:
1. Install SwitchyOmega plugin
2. Create a new profile: SS
Protocol: SOCKS5 Server:127.0.0.1 Port:1080
3. Set auto switch:
Check Rule list rules, select Profile as SS
Keep Default's profile as [Direct]
4. Rule List Config, set the URL as: https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
// make sure save action is done for each of steps: Apply changes

猜你喜欢

转载自www.cnblogs.com/researcher/p/9233977.html
gfw
今日推荐