Member-only story

Stunnel + Tunnelblick Client on macOS

Jayden Chua
5 min readJun 25, 2019

--

Connect your OpenVPN through Stunnel on MacOS

Pre-requisites

This article assumes already have Stunnel and OpenVPN server installed somewhere. If not, you can read how I setup my Stunnel and OpenVPN on Ubuntu 16.04 or 18.04.

Installing Tunnelblick

Tunnelblick is an OpenVPN client for macOS. We will use it as our OpenVPN client for macOS. Download and install from this here.

Install Stunnel

To install stunnel, we’ll install it through brew. If you don’t have brew installed on your macOS, head on over to brew homepage and copy the installation script.

Once you have brew installed, install stunnel with the following command.

$ brew install stunnel

Setup OpenVPN client configuration

First let’s set up the openpvn configuration file. Before we start, you should have these information ready.

  1. The IP address of the server your OpenVPN resides.
  2. The ca.crt file that your server generated.
  3. The your-vpn-server.key and your-vpn-server.crt files respectively.

--

--

Jayden Chua
Jayden Chua

Written by Jayden Chua

An avid web developer constantly looking for new web technologies to dabble in, more information can be found on bit.ly/jayden-chua

Responses (1)