VPN with Viscosity

In this quick guide I'll explain which steps are necessary to use notmyhostna.me's OpenVPN server.

Note: It's very verbose. tl;dr: Decrypt the configuration files and add them to your OpenVPN client.

First step: Download the configuration files

You'll have to download the configuration files from http://notmyhostna.me/share/ - Grab the one with the .enc (encrypted) file extension and your nickname in the filename.

Second step: Decrypt the configuration files

Now we'll have to decrypt the configuration file, If you downloaded it to your Downloads folder (~/Downloads) just open your Terminal and type:

cd ~/Downloads

Hit the Return key to change to the Downloads directory. Now it's time to decrypt the file with the command I sent you.

It'll look similar to this:

openssl enc -d -aes-256-cbc -in yournick-openvpn.tar.gz.enc -out yournick-openvpn.tar.gz -k vXD/Afndi730fAdNklDad82Npdn2jfdjajifadsn=

Copy paste that command (it's one line) to your terminal, hit Return and it should get decrypted.

Third step: Extract the encrypted config files

Use Finder to navigate to your Downloads directory and double click the yournick-openvpn.tar.gz file which should be there along with the encrypted one.

Fourth step: Install Viscosity

Download the VPN client called Viscosity and install it.

Fifth step: Load the configuration files

Once you installed/started it you'll have a new icon in your menubar. Click the icon and select "Preferences". Click the tiny "+" icon at the bottom and choose "Import connection" > "From file".

It'll ask you which file to import. Navigate to your Downloads directory and select the file named yournick-openvpn-france.conf.

Once you added that you'll be able to select "Connect yournick-openvpn-france" from the menubar icon. Once you are connected

Last step: Check if you are connected through the VPN

Open http://ipinfo.io/ in your browser. If it's some place in France it's working.

If you don't want to use Viscosity there are other OpenVPN clients out there too. For example Tunnelblick, which is free and ugly.

The End.

VPN with Viscosity
Share this