VPN Setup for Linux

VPN

Requirements:

  • ONID user account
  • Functioning Internet connection.

 

Method 1: Built in VPN? with downloaded profiles.

Some versions of Linux allow you to import profiles that have already been created. To do this:

  1. Download the pre-made profiles from OSUWare, logging in with your ONID username and password. 
  2. Click Import and browse to the location of the downloaded profile.
  3. Select the profile that you downloaded, and click open.
  4. Check and make sure that the gateway, group name, and group password fields are all filled out, then click apply.
  5. You will have to fill in your ONID username in the username field.
  6. Your VPN connection should be listed in the VPN connections on your computer.
  7. To connect with the VPN, select the profile you wish to connect with, then enter your ONID password.

 

Method 2: Built in VPN Manual setup.

For versions of Linux that do not allow you to import pre-made profiles. To do this:

  1. Login with your ONID username and password to the OSUWare site.
  2. Locate the VPN information that corresponds with your type of connection.
  3. On your computer, open the VPN connections window.
  4. Click Add, to add a new VPN connection.
  5. Select Cisco Compatible VPN/IPSec, then click create.
  6. Enter in the gateway, group name, group password, and your ONID username.
  7. Click Apply to save your changes.
  8. Your VPN connection should be listed in the VPN connections on your computer.
  9. To connect with the VPN, select the profile you with to connect with, then enter your ONID password.

 

Method 3: WebVPN

  1. Open a supported web broswer and type in the address bar: https://sds.oregonstate.edu/
  2. Login using your ONID username and password.
  3. Accept the request to run the Java Application
  4. A window will appear informing you that you are connected to the OSU network. An icon will also appear in the system tray when you successfully connect. You can right-click this icon and choose disconnect or quit to end the VPN connection.

 

Method 4: Standard VPN Client for Linux Kernels(2.4.x-2.6.x)

Version: 4.8.02.0030 - release notes

Download:

  1. Download the latest version of the Cisco VPN client software.
  2. Login with your ONID username and password.
  3. Save the install package to your Desktop.
  4. Right click the vpnclient-linux-x86_64-4.8.02.0030-k92.tar.gz and select extract here.

Install:

  1. Open a terminal window.
  2. Elevate yourself to root.
  3. Enter the folder with the installation files by typing (in this case); "cd Desktop/vpnclient-linux-x86_64-4.8.02.0030-k9/vpnclient" (without the quotations).
  4. Then type ./vpn_install.
  5. The directory where binaries will be installed should be left as the default (/usr/local/bin) by pressing enter.
  6. Automatically starting the VPN service at boot time should also be left as the default (yes) by pressing enter.
  7. The directory containing the linux kernel source code may differ depending on your version of linux. You will have to find this, then enter it in where it asks for it.
  8. After restarting your computer, you should be able to find the Cisco VPN under applications.

Note: You can create profiles for the VPN using Method 3 above. There are also profiles included in the downloaded package, which you can try copying and pasting into the profiles directory which will be in the directory the modules were installed to (Linux Kernel Source Code). The files you will be looking for end in .pfc. You will not need to copy the sample.pfc file.