Setting up OpenVPN on Mac OS X 10.5 (client section)


Setting up OpenVPN using the $9 Viscosity application. This software is very easy to set up and use. If $9 is more than you want to pay, consider using Tunnelblick. Viscosity doesn’t yet work fully on 10.4, but it should soon – check the website.

Distributing the client via email

media-12323907266613.png

Follow the link in the email message you recieved, or download the attachment in the email from the VPN admnistrator.

Click here… or copy and paste into your web browser.

If you got a message from your administrator with a file called config.zip attached, skip ahead to "Download the VPN software."

Secure Connection Failed

media-12323909241433.png

If you get this screen because you are using Firefox, visit https://4macs.wordpress.com/2009/01/07/firefox-3-and-invalid-security-certificates/ to learn how to get around this.

Note – you may not see this warning in other browsers, so you can ignore this step if you don’t have the problem.

Downloading the configuation file

media-12323910814593.png

For Mac users, click on the Configuration Files link.

A file called "config.zip" will download, and may automatically decompress to a folder called "untangle-vpn." If it does not do this automatically, double click on the config.zip to make this happen.

Download the VPN software

media-12323912521453.png

Download the client from http://viscosityvpn.com/

Viscosityvpn.dmg will download. Double click on that file to mount the disk image.

Viscosity.app

media-12323914131113.png

Drag the Viscosity.app to your applications folder. You can just drag it right in that window, from the left to the right.

Eject the disk image and throw the Viscosity.dmg file in your trash can.

Launch the Viscosity application

media-12323919262483.png

Moments ago, you copied this file to your Applications folder. The window above shows you how to access your Applications folder. Find the Viscosity application and double click on it to launch it. Note – the application automatically updates itself, so ocasionally you may see a request to install the update. It’s OK to allow this to happen.

Viscosity Menu Item

media-12324902879973.png

If you look closely, the only thing that changed when you launched Viscosity was the addition of this item in the menu bar at the top of the screen. Look closely!

Viscosity Menu Item

media-12324904300873.png

If you click the Viscosity icon in your menu bar, the only options are for Preferences or Quit. Choose Preferences. Then click the + in the lower left corner and choose Import connection. A standard Open Dialog box will appear. Navigate to your ungangle-vpn folder and choose the .ovpn or .conf file – it doesn’t matter which one you choose, Viscosity gets the information it needs from either one.

Successful import

media-12324906142243.png

If the import was successful, you will see the name of the connection in the window, along with the Disconnected status.

Viscosity Menu Item … again

media-12324968342193.png

Now when you go to the Viscosity menu, you will see the imported VPN settings. You can have as many connections as you like. To initiate a connection, just release the mouse on Connect…

Successful connection

media-12324969583533.png

If the connection was successful, you’ll get a green Viscosity icon. At this time, you are connected to your remote network.

Connecting to remote file servers

media-12324970661773.png

Once you have made the connection, head back to the Go menu and choose Connect to Server…

Connect to Server

media-12324971737953.png

The main difference between connecting to a server via a VPN and a local connection is that VPN connections don’t pass the Bonjour names of servers or show up at all – so you have to know the IP address or name of your intended connection. Enter the IP address of the server you want to connect to, and press Connect.

Remote Printers

media-12324979934123.png

You can also print to remote printers. In System Preferences, choose Print & Fax, then hit the + to add the printer. The thing to remember hereis that the printer must be accessible via an IP address – so USB connected printers won’t work.

Adding an IP Printer

media-12324981339953.png

Choose IP from the icons on the top. Then enter the Address of the printer in that field. Most of the time you can leave Queue empty. And as long as you have the printer drivers installed on your machine, the computer will find the proper settings files. The IP address will automatically show in the Name field, but feel free to change the name of the printer to something easily identifyable.

REMEMBER: You must be connected to the VPN in order to print to a remote printer!!! IT’s probably best not to make this new printer the default printer unless you plan on being connected to the VPN all of the time.

Advertisements

One Response

  1. […] This topic assumes you already have Open VPN set up on your system. If you need help with that, please see this tip. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: