Connecting via VPN (Mac)
Follow this guide to privately access your server from your Mac device using a VPN.
Prerequisites
Contents
WireGuard
-
Obtain a WireGuard config file for your device.
- StartTunnel: Follow instructions here
- Router: Follow your router’s instructions.
-
Install WireGuard from the App Store.
-
Open the WireGuard app, click “Import tunnel(s) from file”, and select the file you downloaded above.
-
MacOS will inform you that WireGuard wants to set up a VPN connection. Click ‘Allow’.
-
Your VPN tunnel will have been created and visible in both you Mac’s system settings and conveniently in the WireGuard app where you can click to activate it.
Tip
You may need to edit your newly created tunnel and enable ‘On-demand’ for either ethernet, wifi or both.
OpenVPN
-
Download and install the OpenVPN Connect client from the official website.

-
If asked to do so, allow the OpenVPN client to run in the background.

-
Download the configuration file from your router’s OpenVPN server.

-
Import the configuration file and enter the necessary authentication settings you chose or were default on your OpenVPN Server on your router

-
Depending on how you’ve configured your OpenVPN server, you may need to add a username and password before you hit Connect.

-
Once set up, click on the name of the profile allows you to connect and disconnect. You can edit the profile from the icon to its right.

Note
You can avoid using the OpenVPN Connect client and create the OpenVPN connection directly in MacOS in the VPN section of System Settings. You would select IKEv2 and add your configuration manually.
