Openvpn For Mac

In this guide I will show you how to connect your Apple MAC to any VPN service that’s using the OpenVPN protocol. OpenVPN is a fast, stable and secure protocol and most VPN service providers will support it. OpenVPN is one of the most developed VPN protocols. It is safe and fast. Find out how to set up OpenVPN on Mac OS in several easy steps. Mac OS X OpenVPN - VPN Manual Configuration NOT SUPPORTED. Mac OS X does not have native support for VPN using the OpenVPN protocol. In order to use VyprVPN with the OpenVPN protocol, you will need to download and install VyprVPN for Mac or use an OpenVPN client such as Viscosity or Tunnelblick. 9 thoughts on “ How To Set Up a VPN Server Using a Mac ”. Thanks for this post. I need install OpenVPN Server on my mac, but it’s very difficult find a guide that in complete. The dropbox link that you have posted is expired, can you post the Donald’s Nifty Scripts of Doom file again? Tunnelblick provides free, user-friendly control of OpenVPN client connections for macOS. Download the recommended OpenVPN server's configuration file from this page: To begin the installation of OpenVPN for macOS, navigate to your Downloads folder and double-click the Tunnelblick image (DMG) file you just downloaded.

Skip the manual setup and download VyprVPN for Mac

  • Connect and disconnect your VPN connection with a single click
  • Quickly change VyprVPN server locations
  • Easy access to VyprVPN configuration settings
  • Track your connection speed with the VyprVPN speed graph
  • Ping test the VyprVPN servers to find the fastest server
  • Add servers to your favorites for easy access
Download VyprVPN for Mac

Mac OS X does not have native support for VPN using the OpenVPN protocol. In order to use VyprVPN with the OpenVPN protocol, you will need to download and install VyprVPN for Mac or use an OpenVPN client such as Viscosity or Tunnelblick.

Below are links to detailed instructions for the most popular OpenVPN clients for Mac OS X.

      • Windows 8

      • Windows 8 RT

      • Windows 7

      • Windows Vista

      • Windows XP

      • Windows 10

      • Mac OS X 10.8+

      • Mac OS X 10.5 - 10.7

      • iOS 6

      • iOS 7 - 8

      • Chromebook

      • Android 2.X

      • Android 4.X

      • Linux (Ubuntu)

      • DD-WRT Firmware

      • Tomato

      • Boxee Box

      • Synology NAS

These instructions may seem arcane and complex but they’re really easy if you just follow along step by step. Donald Burr of Otaku No Podcast (otakunopodcast.com) created all of these instructions in text form, Allison just created the ScreenSteps tutorial!

I’ll be focusing on using a Mac on your home network using an Airport Extreme Router (of course any router will work but the screenshots will be for the Airport). If you have a router capable of installing the Tomato Router Firmware, you should look at Donald’s full instructions because you may not need to use a Mac at all for this, your router can do it all. See Donald’s notes for other options.

Read Donald’s instructions > here.

If you’d rather download this manual for easy off line reference, click here.

If you’ve installed the VPN Server but would like to UNinstall it, click here for instructions.
If you can connect to your VPN server but can’t get outside your network, click here.

Let’s get started already!

SECTION 1 – Setting Up a Static IP for the Server on the LAN Side

These instructions should be completed on the machine that will become the VPN server.

Open Network Preferences

Select Advanced

Copy the Mac Address

Open AirPort Utility

Click on your router, in my case it’s called White Dart.

Openvpn For Macbook Air

Select Enter Router Password

Enter your password when prompted and click OK.

Select Edit

Select the Network Tab and Click the + Button

Paste in the Mac Address You Copied Earlier

Select Update

Select Continue

Quit Airport Utility when this operation completes.

SECTION 2 – Creating Account at No-IP.com

Navigate to http://www.noip.com and select Sign Up.

Create a Username and Password

Enter your Email address. Note the host name shown which is free, but if you want to pay you can get more options. Scroll down to the bottom of the page.

Select Sign Up

Email Confirmation Will be Sent

Click the Link in the Email

Download the Update Client

This client will run in the background and check to see if your IP address has changed, and if it has, will send it to no-ip.com

Download and Install the Client

Enter Your No-iP.com Account Info You Just Created

This menu should pop up automatically.

Click OK

Click on Hosts and Check the Box Next to the Host Name You Chose

It may take a few moments for the host name you selected at no-ip.com to show up. Make sure you note this name, you’ll need it later.

Select Update Now

Turn on the Daemon

I chose this rather than running the application in the background all the time.

SECTION 3 – Installing Xcode and Running Command Line Tools

Install Xcode

Install Java

Xcode only installs the standalone Java, and it does NOT include the Java Web plugin that has been the subject of so many security vulnerabilities lately.

Select Install Next to Command Line Tools

Wait till the installation finishes and quit X-Code

Type xcodebuild -license to Open the License Agreement

Start Hitting the Space Bar to Scroll Through the EULA – A LOT of Times

Type Agree

Type agree

Joy of Agreement

SECTION 4 – Installing MacPorts

Navigate to https://distfiles.macports.org/MacPorts/ and scroll to the bottom to download the installer file for your OS.

Install MacPorts

Enter These Commands in the Terminal

To run the self update to Macports enter:

Tunnelblick

and enter your administrator password

Success

Open the VPN Software

Enter

and watch a lot of glop go by…

SECTION 5 – Installing Tuntap Drivers

Download tuntap drivers from http://tuntaposx.sourceforge.net/download.xhtml

Open the Package File (in the folder after tuntap expands)

Gatekeeper won’t let you just double click on the installer package (it will complain that it is from an unknown source), you have to right click on the installer package and choose “open”.

SECTION 6 – Donald’s Nifty Scripts of Doom

Download Donald’s scripts from: https://www.dropbox.com/s/4yhc5oimze9zzij/openvpn-mac.tar.bz2?dl=0

Type These Commands to Unarchive the Scripts

Setting Up OpenVPN Server

We’re now going to run Donald’s scripts. Enter this command:

Name your Server (I’ve entered kyles-mac-vpn)
Enter the dynamic dns host name you noted back on no-ip.com (you DID note it, right?)

Keep Answering Questions

The first time through you need to answer these. These steps will be duplicated MANY times, but after this the answers will be there and you can simply hit Enter for each questions.

Hit Enter for All These Questions for an RSA Key

And Again for Some Reason

Keep Answering…

And Again

And Again…

Whew!

Enter passphrase and password as many times as they ask for it!

Finder Window Opens Showing config-files

Copy this file to Dropbox. It will be the first connection file you test. It would be good to name it something associated with the device on which you’ll use it (you’ll be creating one of these for each of your devices).

Create a New VPN Connection Document for Each Device You Have

In Terminal, enter:

where connection-name means something to you for each different device you’ll want to connect to the VPN server. Move each of these files to Dropbox to be picked up on your devices.

SECTION 7 – Opening up UDP Port 1194

Open Airport Utility again, select your Airport again, Select Edit again. Select the Network tab, and select the + under Port Settings

Enter Information As Shown

Select Update

Wait until your Airport updates.

SECTION 8 – Install VPN Software on iOS

Download OpenVPN Connect from the iTunes App Store.

Open Dropbox

Find the file you created and moved into Dropbox and tap on it.

Select the Open In Button in the Bottom Right

Select Open in OpenVPN

Click the Green Plus Button to Import the File

Enter the Password

Enter the Password you created in the creation of the file, and tap the Save switch to turn it on. Finally tap the Off Switch to Connect to the VPN.

Connected!

SECTION 9 – Install VPN Software on OSX

Two options for a VPN application on the Mac. Donald recommended Viscosity from http://www.sparklabs.com/viscosity/download/ which is $9 per Mac.

After the show Dr. Matt suggested the free TunnelBlick from http://code.google.com/p/tunnelblick. I installed both and they both work well. This tutorial will be for Viscosity, but if you try Tunnelblick you have to do one thing to make it work. In the Settings, Configuration tab, select Advanced and then uncheck the box to use TunnelBlick’s tun/tap drivers.

Sonar for mac. Let’s keep going with Viscosity as our example.

Install Viscosity

Click on the icon for Viscosity in the menubar and choose Preferences.

In the Connection Tab Click on the Plus Button at the Bottom

Select Import Connection From File…

Navigate to the File You Created for This Device

In my case I called it alsmac so I could tell which one to open

Connection Imported

Openvpn For Mac Os Download

Connect Using Menu Bar App

Enter the Password You Created

No clue which one of the 198 I entered, luckily I typed the same one over and over again.

Openvpn For Mac Os X Download

Fleeting Notification of Connection

Openvpn For Mac Os X

To test mine at home I used a Mifi so I was on a different network.

Use the Menubar Icon to Disconnect When You’re Through

If you want to prove to yourself that you’re on VPN – go to http://ipchicken.com before and after you VPN and you’ll find that your IP changes to your home IP. Congratulations!