By Winniethepoo
I am in China wanting a reliable VPN option and I signed up for Digital Ocean and created a droplet, downloaded SS but now I’m stuck. I’m not a coder and I’m not sure what my next step is to configure the SS app. I tried putting the user ip and password that I got in the email into the SS app, but it doesn’t seem to work, thus exposing my profound ignorance. I don’t get an error message of any kind, it shows that the service is connected, but that there is 0 traffic. Can anyone give me a hand?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Firstly, it’s worth noting that Shadowsocks isn’t exactly a VPN, but a proxy, that’s often used to bypass censorship.
Before using Shadowsocks client, you need to set up Shadowsocks server on your DigitalOcean Droplet. The process usually involves the following steps:
Create a Droplet on DigitalOcean: Looks like you have already completed this step.
Connect to the Droplet and Install Shadowsocks: This step usually involves SSH-ing into the Droplet using a tool like Putty (on Windows) or the terminal (on macOS or Linux) and running the command to install Shadowsocks. You’ll use the IP address, username, and password provided by DigitalOcean to connect to the Droplet.
Here is the command to install Shadowsocks on a Ubuntu-based Droplet:
- sudo apt-get update
- sudo apt-get install -y python-pip
- pip install shadowsocks
Create a new file:
- sudo nano /etc/shadowsocks.json
Then enter a configuration like this:
{
"server":"your_server_ip",
"server_port":8000,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"your_password",
"timeout":300,
"method":"aes-256-cfb"
}
Make sure to replace “your_server_ip” with your Droplet’s IP address and “your_password” with a strong password of your choosing.
- sudo ssserver -c /etc/shadowsocks.json -d start
echo "ssserver -c /etc/shadowsocks.json -d start" >> /etc/rc.local
Now you should have the Shadowsocks server running on your DigitalOcean Droplet.
After setting up the server, you can now configure the Shadowsocks client. Here’s how:
Download and install the Shadowsocks client: It looks like you’ve already completed this step.
Configure the Shadowsocks client: Open the Shadowsocks client. In the server settings, enter the following information:
Now you should be able to connect to your Shadowsocks server using the client and browse the internet freely. If you still experience issues, please make sure your firewall isn’t blocking the connection, and verify that you’ve entered the correct settings in both the server and client.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.