How to set up a manual WireGuard® connection on iOS

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

You will need a device running the iOS operating system, the WireGuard app, and an active Surfshark subscription, which you can purchase on our pricing page.

 

Here are the steps we will go through:

  1. Get your key pair
  2. I have a key pair
  3. I don't have a key pair
  4. Download WireGuard and connect to the VPN
  5. Ensure the connection is successful

 

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


  2. Click on I have a key pair.


  3. Enter a name for your public key and tap Next.


  4. Enter your public key and hit Save.


  5. Finally, hit Choose a Location, select a server to which you like to connect, and Download the configuration file.

 

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


  2. Select I don't have a key pair.


  3. Tap on Generate a new key pair.


  4. Once the key pair has been generated, select Choose a Location.


  5. Lastly, select a server to which you like to connect and click Download.


 

Download WireGuard and connect to the VPN

 

  1. Open the App Store, type in WireGuard, and download the WireGuard application.
    ioswg9.png

  2. Once the download is finished, open the application and select Add a tunnel.
    ioswg10.png

  3. Find the configuration file you've downloaded earlier and import it.
    ioswg13.png

  4. In the next pop-up, click Allow.
    ioswg11.png

  5. Lastly, to connect or disconnect from the VPN, toggle the button next to the location.
    ioswg12.png

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!