How to configure a WireGuard iOS client

Part 6 of 7 in Gain flexibility & increase privacy with WireGuard VPN
Jay Rogers avatar
Jay Rogers May 26th, 2020

This is a continuation of my free “mini-course” called Gain Flexibility & Increase Privacy with WireGuard VPN. Start there if you are new to WireGuard.

What you’ll achieve

This is what it looks like:


Download WireGuard app from the App Store

You can download the official app on the App Store.

Add a tunnel

We need to add a tunnel:

We then want to choose “Create from QR code”:

Using the QR code that we generated on our server, we can now hold our camera up to our QR code to import it. Give it a descriptive name for your connection.

You may be prompted to add this VPN configuration. Be sure to allow it so you can access it through the iOS settings page.

You’ll see it automatically imports everything, similar to our other clients that we have been working with.

You can set the On demand to be “on” if you want to always use your VPN (over LTE and Wi-Fi).

Add your client to your server

Before you can connect, you need to add the client to your server. I go through this on why we need to do this here, but here is the quick solution.

ON YOUR SERVER run this command:

sudo wg set wg0 peer YOUR_CLIENT_PUBLIC_KEY allowed-ips YOUR_CLIENT_VPN_IP


Connecting to the VPN

You can now access the VPN from the “Settings” page of iOS.

Test it out

You can test it out by going to and to see how its working.

That’s all!

If you like content like this, consider signing up on our mailing list or follow me on Twitter.

Keep Reading
View the course View the Course Gain flexibility & increase privacy with WireGuard VPN
Up Next → How to configure a WireGuard Android VPN Client

Support future content

The Ultimate Guide to Building APIs and Single-Page Applications with Laravel + VueJS + Capacitor book cover.

Psst... any earnings that we make off of our book is being reinvested to bringing you more content. If you like what you read, consider getting our book or get sweet perks by becoming a sponsor.

Written By Jay

Jay Rogers avatar Jay Rogers

I’m a DevOps engineer who accidentally ended up in application & user-experience design. ?? I'm a husband and proud dog-dad who co-founded 521 Dimensions & Server Side Up. I like to having meaningful conversations with people who love building things. Please reach out and say hello!

Like this? Subscribe

We're privacy advocates. We will never spam you and we only want to send you emails that you actually want to receive. One-click unsubscribes are instantly honored.