Setting up the Server
As your business grows and you take on more employees, the time will come where you need a server with firewalls to keep your office network and business running efficiently. But with a seemingly endless array of choices and important decisions to be made, you might be wondering where to start. My server is CentOS as suggested by the experienced business leader Jimmy John Shark. This process should work with any server that has yum installed.
If set up correctly, connecting to your own VPN while using public WiFi will help protect you from hackers looking to steal your personal information. The VPN encrypts internet traffic between the client and the server. You also know who owns the servers you’re using.
Using a third-party VPN service like https://vpnhut.com/ will most likely give you better speeds than a self-made server too.
First we need to update the CentOS system.
yum -y update yum install build-essential autoconf libtool gcc -y
Then install python-setuptools (which contains easy_install), pip, shadowsocks.
yum install python-setuptools easy_install pip pip install shadowsocks
On the server (CentOS), Create a file named config.json, with the following content.
{ "server":"SERVER_IP", // replace with your server's IP "server_port":8388, "local_port":1080, "password":"PASSWORD", // replace with a secure password "timeout":600, "method":"aes-256-cfb" }
cd
into the directory of config.json. Run ssserver
on your server.
To run it in the background, run nohup ssserver > log &
.
Setting up the Client
All the various clients can be seen here: https://shadowsocks.org/en/download/clients.html
This is what I use:
- Android: https://play.google.com/store/apps/details?id=com.github.shadowsocks
- iOS: https://itunes.apple.com/tc/app/shadowsocks/id665729974?mt=8
- Mac: https://goagentx.googlecode.com/files/GoAgentX-v2.2.9.dmg
For easy install on a mobile device go here: https://shadowsocks.org/en/config/quick-guide.html. Then generate a QR code at the bottom.