Surfshark is one of the best VPN deals that you will find anywhere.
Surfshark 2 Year Deal
Get 2 Years of Surfshark for only $59
Ok, so it’s a great deal. But here is the big question…
Does Surfshark VPN work in China?
Yes, Surfshark does work in China. In fact, it is currently rated #2 on the Best VPN for China page.
However, it can be very tricky to set up.
If you are looking for a more user-friendly VPN to use in China, something like ExpressVPN might be a better choice for you. The apps are always working in China and they are simple and easy to use.
The main problem with Surfshark is that the apps don’t always work in China, so you will likely need to set up manual connections at some point.
But don’t worry, I’m going to show you everything you need to know about how to use Surfshark in China with manual OpenVPN and Shadowsocks connections.
The Surfshark apps may or may not be working in China at the time you are reading this guide, so you could always try them first before following these steps.
Method #1 – How to set up manual Shadowsocks
Step 1 – Open the Surfshark website and log into your account
If you are in China, you can use this alternative link to access the Surfshark website.
Step 2 – Enable Shadowsocks
Click on the Devices option as shown below.
Then scroll down to the bottom of the page until you see the Advanced heading. Then choose Shadowsocks.
Now click the Enable Shadowsocks button.
You should now see a Shadowsocks port and password.
Step 3 – Download the Shadowsocks app for your device
For iOS, download the Shadowrocket app from the Apple App Store. This app costs $2.99 and you will need a non-Chinese iTunes account. If your iTunes account is registered with a Chinese address, you can make a new US iTunes account.
If you don’t want to pay $2.99 for Shadowrocket, you can try some free apps such as Potatso Lite. However, these free apps usually have DNS leaks and don’t work with VoIP (WhatsApp voice calls, etc). So it’s recommended to pay $2.99 for Shadowrocket if you can afford it.
Step 4 – Find working IP addresses
This is the tricky part. You will need to find IP addresses that are not blocked in China. If you don’t want to do this yourself, you could check the bottom of this page for some recommended IPs that I found to be working the last time this page was updated.
Do not follow the instructions on the Surfshark website. You cannot enter the server hostnames directly or ping the hostnames because the DNS requests are poisoned in China.
To find working IPs, copy the server address from the Surfshark website and look up the IPs using the OpenDNS CacheCheck website.
For example, here are the results for the Japan location.
Pro Tip: If the IPs shown are blocked, you can often add +1 from what is shown here.
For example, the first IP is 188.8.131.52. Adding +1, we get 184.108.40.206 (only add +1 to the last of the 4 numbers).
This is a special trick that only works for Shadowsocks connections (does not work for OpenVPN). It doesn’t work 100% of the time, but it usually does.
You need to go through the list and find the IPs that are not blocked in China.
You can check if the IP is blocked in China by sending a ping command. Make sure to turn off any existing VPN connections because you need to ping directly from China.
If you don’t know how to send a ping command, refer to this article for instructions.
If you are using a mobile device or if you are not in China yet, you can use this ping tool. The tool is in Chinese language, but it’s simple to use. Choose only China servers to ping from, as shown below.
We are not interested in the ping results from regions other than mainland China, so make sure the other regions are unchecked if you use this tool.
As I am already in china, I will directly send a ping command from Windows. Here is what a successful ping test looks like.
The lower the ping time, the better. Try to find server IPs with a low ping time.
Here is what an unsuccessful ping test looks like (server is blocked).
Build a list of all the IPs that respond to a ping. It’s possible that some IPs will respond to ping but still not work, so try to find as many as possible before going to the next step.
Step 5 – Enter the server settings
Now that you have a list of possible good IPs, you can go ahead and try them. Enter the following server settings into the Shadowsocks app for each server IP that you want to set up.
Server address – Enter an IP from your list (step 4)
Server port – Enter the port shown on the website (step 2)
Password – Enter the password shown on the website (step 2)
Encryption – AES-256-GCM (recently changed)
Remark – Enter any name to identify your server
Any other options can be left as default.
The specific name and order of these options may vary on different platforms. Here is what my settings look like on Windows.
Note – The above image shows the old settings with Encryption set to aes-256-cfb. The current setting is now aes-256-gcm.
Step 6 – Test the server
The specific steps on how to connect to the server varies on different platforms. On Windows, right click the icon in the taskbar and choose System Proxy —> Global. To turn Shadowsocks off, right click the icon and choose System Proxy –> Disable.
For Mac, the options are Turn Shadowsocks On and Turn Shadowsocks Off.
Unlike a traditional VPN connection, you will not know if the server works or not until you try to load a website.
Troubleshooting – What to do if your server doesn’t work
If your Shadowsocks servers don’t work, or if they stop working after some time, you may need to reset your credentials (port and password). The server management of the Shadowsocks servers seems to have some bugs. Sometimes ports get closed randomly and sometimes the credentials just don’t work.
The first thing to check is whether you can still ping the server. If it doesn’t respond to a ping, then it was likely blocked in China and you will need to find another server to use.
If the server responds to a ping, but the Shadowsocks connection fails, then you should go back to the Surfshark website and reset your credentials.
To do this, click on Disable Shadowsocks and then Enable Shadowsocks again. You will get a new port and password. Then you will need to update the Port and Password with your new credentials for each server profile in your Shadowsocks app.
Make sure you test several different servers with your new credentials because sometimes certain servers don’t get updated properly (or there can be a delay). If none of them are working, then reset again. In rare cases you may need to reset your credentials several times before it works.
Method #2 – How to Setup Manual OpenVPN
After logging in to your account, click on Devices, and then choose Manual under the advanced section at the bottom (beside Shadowsocks).
If you don’t know how to use OpenVPN, you can follow the guides on the Surfshark website, with the following exception.
You will need to edit the .ovpn config file and change the server hostname to an IP address.
To find working IPs, follow the same instructions as Shadowsocks, except do not add +1 to the IP address. You will need to use the IP addresses from OpenDNS CacheCheck results directly.
If you are using Windows 10, you will also need to add the line block-outside-dns to the config file.
Here is an example of my edited config file for a Japan server on Windows 10.
Tips for OpenVPN Set Up on Android and iOS Devices
The easiest way to edit the OpenVPN config file is to download the file on a computer, make the edits, save the file, then transfer it to your device (for iOS you can email it to yourself because transferring by USB doesn’t seem to work).
Alternatively, if you don’t have a computer available, you can use a text editing app to edit the file directly on your device.
For iOS, I recommend the Documents by Readdle app. First install both the OpenVPN Connect app and the Documents by Readdle app. Then download the OpenVPN config file from the Surfshark website using Safari. Instead of Opening it with OpenVPN, choose “More…“, and then choose “Copy to Documents“. This will open the file in the Documents by Readdle app. After you you make the edits, tap the … symbol in the top right and then choose Share. Then choose “Copy to OpenVPN“.
Android is much easier to work with, so you don’t need to follow specific steps like you do with iOS. There are many text editing apps available for Android that will work. Personally, I like the Just Notepad app.
Just download the config file to your Android device, edit it with any text editing app, save it to your device, then import it into the OpenVPN Connect app.
Surfshark Working IP Addresses
In order to save you some time hunting for IP addresses that are working in China, I will list a few here and try to keep the list updated as best I can. If you find that any of these are no longer working, please leave a comment.
Shadowsocks IPs *
Taiwan 1: 220.127.116.11
Taiwan 2: 18.104.22.168
Los Angeles: 22.214.171.124
* If the above Shadowsocks IPs don’t work but still respond to a ping, then you likely need to reset your Shadowsocks credentials on the website. See the troubleshooting section for further details.
Taiwan 1: 126.96.36.199
Taiwan 2: 188.8.131.52
Los Angeles: 184.108.40.206