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.

 

Here are the steps we will go through:

 

Credentials and locations

 

For any manual WireGuard connection you will need to have a key pair and a location to which you would like to connect selected, below you will find information on how to get the key pair as well as the server configuration file.

 

I have a key pair

 

For any manual WireGuard connection you will need to have a key pair, below you will find information on how to get one.

 

  1. Open Safari, or any browser on your iOS device, go to surfshark.com, and log into your account. Click on the VPN section, then Manual Setup, and finally select WireGuard.

    ioswg1.png
  2. Click on I have a key pair.

    ioswg2.png
  3. Enter your public key and hit Save.

    ioswg4.png

  4. Finally hit Choose a Location and select a server to which you like to connect.

    ioswg7.png
    ioswg8.png

Note: If you do not generate key pair before downloading the configuration file, the file will be missing your key pair. In such cases, you will need to generate a key separately and input it manually into missing fields.

 

I don't have a key pair

 

  1. Open Safari, or any browser on your iOS device, go to surfshark.com, and log into your account. Click on the VPN section, then Manual Setup, and finally select WireGuard.

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

    ioswg3.png

  3. Click on Generate a new key pair.

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

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

    ioswg7.png
    ioswg8.png

Note: If you do not generate key pair before downloading the configuration file, the file will be missing your key pair. In such cases, you will need to generate a key separately and input it manually into missing fields.

 

Download and install WireGuard

 

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

    ioswg9.png

Connect to the VPN

 

  1. Once the download is finished, open the application and select Add a tunnel.

    ioswg10.png

  2. Find the configuration file you've downloaded earlier and import it.

    ioswg13.png
  3. In the next pop-up, click Allow.

    ioswg11.png
  4. Lastly, to connect or disconnect from the VPN, toggle the button next to the location.

    ioswg12.png

 

That is it. Now you know how to set up a manual connection on your iOS device using the WireGuard protocol.

 


You may also be interested in:

  1. How to make sure if my connection was successful?
  2. How to enable 2FA on your Surfshark account?
  3. How to set up a VPN-protected Wi-Fi hotspot using Windows?
Was this article helpful?
Thank you for your feedback!