Build a vpn code server in CentOS
I. Preparation
1. First, you must buy a foreign server. If you only want to experience the Download force process, we recommend a $3.99 centos6 server. Purchase URL: budgetvm.com.
2. Get the corresponding configuration and connect to the server through securecrt. Then you can start to install B.
Ii. Focus
1. shadowsocks Server Installation tutorial (the link is not guaranteed to open) https://shadowsocks.org/en/download/servers.html
2. Go to the server and run the following command:
wget https://bootstrap.pypa.io/get-pip.py
Download pip file (used later)
3. Run the following command:
python get-pip.py
Python is a built-in tool for linux and does not need to be installed independently.
4. Run the following command:
pip install shadowsocks
Installing shadowsocks is critical. 5. Run the following command:
vim /etc/shadowsocks.json
Input:
{"Server": "my_server_ip", // server ip "server_port": 8388, // port "local_port": 1080 when the shadowbox client is connected, // port "password": "barfoo! selected during browser proxy! ", // Shadowbox client connection password "timeout": 600, // timeout limit "method": "table" // encrypted, recommended to: aes-256-cfb}
6. Run the following command:
ssserver -c /etc/shadowsocks.json -d start
7. The server is ready! Start the client.
8. Download the corresponding client shadowsocks.
9. Fill in the relevant information
10. Install switchyomega in the browser and fill in the relevant information. Note that the proxy protocol is socks5 and the proxy port is 1080.
- Now you can access fackbook.com.