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:
- Get your key pair
- I have a key pair
- I don't have a key pair
- Download WireGuard and connect to the VPN
- 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
- 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
- Click on I have a key pair.
- Enter a name for your public key and tap Next.
-
Enter your public key and hit Save.
-
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
- 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
- Select I don't have a key pair.
- Tap on Generate a new key pair.
- Once the key pair has been generated, select Choose a Location.
- Lastly, select a server to which you like to connect and click Download.
-
Download WireGuard and connect to the VPN
- Open the App Store, type in WireGuard, and download the WireGuard application.
- Once the download is finished, open the application and select Add a tunnel.
- Find the configuration file you've downloaded earlier and import it.
- In the next pop-up, click Allow.
- Lastly, to connect or disconnect from the VPN, toggle the button next to the location.
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: