Differences between revisions 21 and 23 (spanning 2 versions)
Revision 21 as of 2012-02-07 19:17:18
Size: 4277
Editor: localhost
Comment: converted to 1.6 markup
Revision 23 as of 2013-06-24 20:26:29
Size: 4966
Editor: KarlPinc
Comment: Set babase config
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
You always have the option of installing the application using the instructions on the OpenVPN [[http://www.openvpn.org|web site]], but the easier way, if you've Mac OS X 10.3 or higher, is to use the pre-packaged OpenVPN that includes a management GUI. You always have the option of installing the application using the instructions on the OpenVPN [[http://www.openvpn.org|web site]], but the easier way, if you've Mac OS X 10.3 or higher, is to use the pre-packaged OpenVPN called [[http://www.tunnelblick.net/|Tunnelblick]] that includes a management GUI.  Babase supplies a pre-packaged version of Tunnelblick with configuation files built-in, but there may be newer Tunnelblick versions available on the Tunnelblick web site.
Line 7: Line 7:
Note: This will probably work for Mac OS X 10.3 or 10.4 on the PPC/Intel architecture. If you have an older version we'll have to do something else. To install the Babase-supplied Tunnelblick version (obvious interactions omitted):
 * Download [[attachment:BabaseVPN.zip]]
 * Unzip the folder
 * Open the folder
 * Double click on the Tunnelblick icon (a little tunnel) to launch the installer
 * You probably do '''not''' want to have the installed BabaseVPN configuration available to all users on your computer
 * Start Tunnelblick, a little tunnel icon will appear in the bar at top right of screen
 * When asked, you do '''not''' want to check for IP address change on VPN startup
 * You probably do want automatic checks for new Tunnelblick versions
 * Click on the little tunnel icon in the bar at the top of the screen, and click on ''VPN Details...'' to get a configuration page:
  * Choose the BabaseVPN configuration by click
  * Choose to connect on Tunnelblick startup
  * Choose '''not''' to use a nameserver
Line 9: Line 21:
Go to http://www.tunnelblick.net/ and download the latest released version which will extract itself upon downloading.
 * Version 3.0_B4 is available[[http://www.tunnelblick.net/Tunnelblick_3.0_B4.zip|here]]
Tunnelblick is installed in your Applications folder. Double click on it to start the Babase VPN. Control Tunnelblick with the little tunnel icon at the top right of the screen.
Line 12: Line 23:
When the program is done downloading and extracts itself, place it in your applications folder then drag the icon in the applications folder to your dock. See below regards using the Babase VPN.
Line 14: Line 25:
Open your home folder and go to Library. Then open the folder entitled openvpn. Note: The OpenVPN configuration supplied with the Babase packaged version of Tunnelblick differs from the configuration linked below. The packaged configuration file does not drop root permissions since this seems to cause problems with packaged Tunnelblick version 3.3beta54.
Line 16: Line 27:
In this folder you will need to place two files in this directory. If installing a newer Tunnelblick version you will need the following configuration files:
Line 20: Line 31:
When you run Tunnelblick you will see a little tunnel at the top right hand corner of the screen which will let you connect by selecting "Connect 'openvpn'" and disconnect with the "Disconnect 'openvpn'" commands through the graphical dropdown. It may be helpful to have tunnelblick be in your startup items so you don't have to run it every time you want to connect on computers that are typically used for ranking. A Tunnelblick un-installer is avaialble on the Tunnelblick website.

The VPN (Virtual Private Network) running on the Babase server uses the OpenVPN implementation.

Babase VPN on Mac OS X

You always have the option of installing the application using the instructions on the OpenVPN web site, but the easier way, if you've Mac OS X 10.3 or higher, is to use the pre-packaged OpenVPN called Tunnelblick that includes a management GUI. Babase supplies a pre-packaged version of Tunnelblick with configuation files built-in, but there may be newer Tunnelblick versions available on the Tunnelblick web site.

To install the Babase-supplied Tunnelblick version (obvious interactions omitted):

  • Download BabaseVPN.zip

  • Unzip the folder
  • Open the folder
  • Double click on the Tunnelblick icon (a little tunnel) to launch the installer
  • You probably do not want to have the installed BabaseVPN configuration available to all users on your computer

  • Start Tunnelblick, a little tunnel icon will appear in the bar at top right of screen
  • When asked, you do not want to check for IP address change on VPN startup

  • You probably do want automatic checks for new Tunnelblick versions
  • Click on the little tunnel icon in the bar at the top of the screen, and click on VPN Details... to get a configuration page:

    • Choose the BabaseVPN configuration by click
    • Choose to connect on Tunnelblick startup
    • Choose not to use a nameserver

Tunnelblick is installed in your Applications folder. Double click on it to start the Babase VPN. Control Tunnelblick with the little tunnel icon at the top right of the screen.

See below regards using the Babase VPN.

Note: The OpenVPN configuration supplied with the Babase packaged version of Tunnelblick differs from the configuration linked below. The packaged configuration file does not drop root permissions since this seems to cause problems with packaged Tunnelblick version 3.3beta54.

If installing a newer Tunnelblick version you will need the following configuration files:

A Tunnelblick un-installer is avaialble on the Tunnelblick website.

Babase VPN on Windows XP

As Administrator, install OpenVPN GUI for Windows. Unless you already have OpenVPN (without GUI) installed on your computer, it is easiest to download and install the installation package with both OpenVPN and OpenVPN GUI. Once installation completes, you should notice a new OpenVPN GUI icon in your system tray (at the lower-right corner of your desktop). The icon should be lit red at this point, because you have not made a VPN connection yet.

Download the following two files, and place them in the C:\Program Files\OpenVPN\config\ directory on your computer:

Now, to connect, right click on the OpenVPN GUI icon in your system tray, and choose "Connect". You will be prompted for your Duke Biology Unix user name and password. If the connection is successful, the icon will turn green. To disconnect, simply right lick on the icon and choose "Disconnect".

Optional Tweaks to Configuration

By default, OpenVPN GUI will start in your system tray whenever your computer starts up. If you do not want this behavior, you can use AutoRuns for Windows to tweak it.

If you normally use your Windows XP computer as a non-Administrator user, you should create a shortcut to C:\Program Files\OpenVPN\bin\openvpn-gui.exe, right-click on the shortcut, select "Properties", click "Advanced..." and select "Run with different credentials". Now, when you double-click this shortcut, you should choose to run it as Administrator (VPN will not function correctly if you do not run it as Administrator). The How-To section of the OpenVPN GUI website has more information on how to run VPN as a non-admin user.

Notes on Using the Babase VPN

When you start the VPN you will be asked for your Duke Biology Unix user name and password.

To test the VPN use the "ping" program to ping papio-vpn.biology.duke.edu (aka 172.16.3.1). If you get a response the VPN is working.

To connect to papio using the VPN you cannot use papio.biology.duke.edu. Use papio-vpn.biology.duke.edu (172.16.3.1) instead.

BabaseVPN (last edited 2018-01-24 20:16:04 by JakeGordon)

Wiki content based upon work supported by the National Science Foundation under Grant Nos. 0323553 and 0323596. Any opinions, findings, conclusions or recommendations expressed in this material are those of the wiki contributor(s) and do not necessarily reflect the views of the National Science Foundation.