| author | cherylmc |
|---|---|
| ms.service | azure-vpn-gateway |
| ms.topic | include |
| ms.date | 05/04/2023 |
| ms.author | cherylmc |
Important
Only macOS 10.13 and above is supported with OpenVPN protocol.
[!INCLUDE OpenVPN client version 2.6 not supported]
-
Download and install an OpenVPN client, such as TunnelBlick.
-
Download the VPN client profile package from the Azure portal.
-
Unzip the profile. Open the vpnconfig.ovpn configuration file from the OpenVPN folder in a text editor.
-
Fill in the P2S client certificate section with the P2S client certificate public key in base64. In a PEM formatted certificate, you can open the .cer file and copy over the base64 key between the certificate headers.
-
Fill in the private key section with the P2S client certificate private key in base64. See Export your private key on the OpenVPN site for information about how to extract a private key.
-
Don't change any other fields. Use the filled in configuration in client input to connect to the VPN.
-
Double-click the profile file to create the profile in Tunnelblick.
-
Launch Tunnelblick from the applications folder.
-
Click on the Tunnelblick icon in the system tray and pick connect.