Skip to main content

How to connect to Surfshark on iOS from China using WireGuard® manual connection

Illustration of a computer with Wi-Fi, lock, and Apple icons on a world map

 

In this article, you will learn how to set up a manual WireGuard® connection on your iOS device.

 

Get your key pair


There are two ways we can go from here. You might have generated a key pair, and you'll be able to use it. Or, we will have to generate one.

If you have a key pair already, continue the tutorial as usual. If you do not, you should move on to the I don’t have a key pair section.

 

I have a key pair

 

  1. Open Safari or any browser on your iOS device, and go to Surfshark's login page. Tap Products > VPN > Manual setup > Desktop or mobile > WireGuard
    Manual setup Choose a protocol with WireGuard highlighted

  2. Click on I have a key pair.
    WireGuard Connect key pair with I have a key pair highlighted

  3. Enter a name for your public key and tap Next.
    Name this key pair form with the Next button highlighted

  4. Enter your public key and hit Save.
    WireGuard public key field with the Save button highlighted

  5. Finally, hit Choose a Location, select a server to which you like to connect, and Download the configuration file.
    WireGuard Locations tab with the Fastest server download icon
    Download configuration files for Germany Berlin with Download highlighted

 

I don't have a key pair

 

  1. Open Safari or any browser on your iOS device, and go to Surfshark's login page. Tap Products > VPN > Manual setup > Desktop or mobile > WireGuard
    Manual setup Choose a protocol with WireGuard highlighted

  2. Select I don't have a key pair.
    WireGuard Connect key pair with I don't have a key pair highlighted

  3. Tap on Generate a new key pair.
    WireGuard screen with Generate a new key pair highlighted

  4. Once the key pair has been generated, select Choose a Location.
    Generated key pair with the Choose a location button highlighted

  5. Lastly, select a server to which you like to connect and click Download.
    WireGuard Locations tab with download icons highlighted
  6. Download configuration files for Germany Berlin with Download highlighted

 

Download WireGuard and connect to the VPN

 

  1. Open the App Store, type in WireGuard, and download the WireGuard application.
    App Store WireGuard listing with the GET button highlighted

  2. Once the download is finished, open the application and select Add a tunnel.
    WireGuard app with the Add a tunnel button highlighted

  3. Find the configuration file you've downloaded earlier and import it.
    Files Recents with a WireGuard configuration file highlighted

  4. In the next pop-up, click Allow.
    WireGuard VPN configuration prompt with Allow highlighted

  5. Lastly, to connect or disconnect from the VPN, toggle the button next to the location.
    WireGuard tunnel at-vie.prod.surfshark.com with the toggle highlighted

Ensure the connection is successful

 

We always recommend checking if Surfshark VPN is working after setting it up for the first time. You can easily do it by performing Surfshark IP leak test and a DNS leak test. For your convenience, both are available on our website.



You may also be interested in:

Was this article helpful?
Thank you for your feedback!