Just a super quick and dirty bashscript to standup a shadowsocks server fast on a droplet. It installs docker, pulls the ss image and runs it with some default parameters. Useful when trying to standup multiple VPS in different locations in case one IP gets compromised.
- Stand up DigitalOcean droplet (or whatever VPS your prefer. I think DO is the cheapest and the most hassle-free. Use the up to date ubunto
- SSH into it.
- Clone this repo.
- chmod +x ./dsock_install.sh to add executable permission
- run ./dsock_install.sh
- answer Yes when prompted
- Your shadowsocks server will be started on the IP of the droplet with helloworld as the default password and aes-256-gcm as the default encryption method. If you want anything else you can change the bashscript yourself.
- You can test if it works by adding the connection info (IP, pwd, encryption method) to your preferred Shadowsocks client, activate it, go on google and search up your own IP address and if it shows up as the your proxy IP then you know you've succeeded. As for Shadowsocks clients I recommend Shadowsocks-X-NG for your laptop. Shadowlink, the client I used on my phone don't seem to be available for download anymore but I am sure you can find some other ones as well.
- I know it ain't much but I think this script saved me like hours of my time. Especially if you plan to stand up multiple regions. From my experience DO's singapore and sydney servers usually are pretty performant in the Shanghai area.