How to setup OpenVPN client on macOS to connect to OpenVPN Server

This tutorial will walk you through the setup process of OpenVPN client on macOS operating system. The steps shown is tutorial are from macOS 10.13 (High Sierra) but they should be applicable on other versions of macOS.

For other articles go back to our Knowledge Base

Step 1. Download and install SFTP Client

Cyberduck is a free software that will allow you to access your server via SFTP protocol, for us to be able to download necessary files from our server. Navigate to URL to download it. 

Once downloaded, open your Downloads folder via Finder and double-click on Cyberduck.

You will be presented with Cyberduck interface as seen above. Click on Open Connection button.

Fill in information on Cyberduck with your own server’s. You can find your IP address and root password in your welcome email. 

When prompted a warning like below, check Always and click Allow. 

Once connected, you will be presented with the list of files on your server as can be seen above. Right-click on the folder vpn-client-config-user1 and click on Download.

Once the download is complete, you will find the downloaded folder in your Downloads folder. 

Step 2. Download and install Tunnelblick

Tunnelblick is a free, open-source OpenVPN client for macOS. We will be using it for our setup. Navigate to and click on “Download Latest Stable Release” link from the website. 

Once downloaded, you will find it under your “Downloads” folder. Double click on Tunnelblick installer.

Double-click on Tunnelblick icon from opened screen. 

If presented with a warning like below, click on Open. 

Click on Continue. 

When prompted enter your administrator password and click on OK. 

Once the installation is complete, you will see the “Installation succeeded” notice as seen above. 

Very shortly after installation, you will be prompted with Tunnelblick as can be seen above. Click on “Quit” button. 

After the successful installation of Tunnelblick, go into your “Downloads” folder via Finder and go into “vpn-client-config-user1” folder which we downloaded previously. Double-click on “client.ovpn” folder. When prompted, click on either “Only Me” or “All Users” button depending on your preference. “All Users” option will make this VPN connection available to other users on your computer whereas “Only Me” option will make this connection available to your user account only. 

You will be prompted your administrator password. Enter it and click OK. 

Once the profile is installed, you will see a notice like above stating Tunnelblick successfully installed your configuration.  

After the configuration file is successfully installed, click on the Tunnelblick icon on top menu bar and click on “Connect client”. 

The Tunnelblick icon will blink for a few seconds until the connection is established. Once it’s established, the blinking will stop, and the icon will turn into solid white color. You can confirm the connection is established by clicking on Tunnelblick icon again and you will see “Disconnect” button while you are connected. 

Congratulations, you are now connected to your new VPN! Your computer will now use your server to access internet and your server’s IP address will appear as your public internet IP address!


  • 99 Users Found This Useful
Was this answer helpful?

Related Articles

How to connect to Linux from Windows using PuTTY

In this tutorial we will show you how to use PuTTY to connect to your Linux VPS from Windows 10,...

How to setup OpenVPN client on Windows to connect to OpenVPN server

In this tutorial we will show you how to setup OpenVPN client to connect to OpenVPN server from...

How to manage iptables firewall in Linux

In this tutorial we will show you how to manage iptables firewall in LinuxFor other articles go...