VPN Setup for Linux

Issue/Question

  • How do I connect to the OSU VPN from a Linux device?

Relates To (Environment)

  • Oregon State University
  • Student or Employee
  • Linux
  • VPN

Resolution

Method 1: WebVPN

  1. Open a supported web browser 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 2:  Built in VPN Manual setup

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

  1. On your computer, open the VPN connections window.
  2. Click Add, to add a new VPN connection.
  3. Select Cisco Compatible VPN/IPSec, then click create.
  4. Enter in the gateway, group name, group password, and your ONID username. This info can be found on the following article: https://oregonstate.teamdynamix.com/TDClient/KB/ArticleDet?ID=51178 (requires ONID login)
  5. Click Apply to save your changes.
  6. Your VPN connection should be listed in the VPN connections on your computer.
  7. To connect with the VPN, select the profile you with to connect with, then enter your ONID password.

Method 3: Use OpenConnect

The following steps have been reported to work on Ubuntu 16.04.

  1. At a command line, run the following commands:
    • sudo apt-get install openconnect
    • sudo apt-get install network-manager-openconnect
  2. You may also need to install this package:
    • sudo apt-get install network-manager-openconnect-gnome
  3. To launch the vpn, run:
    • /opt/cisco/anyconnect/bin/vpnui
  4. Connect to: sds.oregonstate.edu
  5. Enter ONID username and password when prompted

Method 4: Use NetworkManager (Ubuntu)

See: https://askubuntu.com/questions/488435/cisco-vpn-configuration-steps

The following steps have been tested with Ubuntu 19.0.4 and Linux Mint 19.1 Cinnamon:

  1. To install:
    1. Open a terminal and run "sudo apt-get install -y openconnect network-manager-openconnect network-manager-openconnect-gnome"
    2. Open Network Connections
    3. Click the + in the bottom left, select "Cisco AnyConnect Compatible VPN" and click "Create"
    4. Set a name for the VPN connection, set the Gateway to "sds.oregonstate.edu", and click "Save"
  2. To launch VPN: Open the network menu in the Taskbar, then click the slider to activate the VPN and use your ONID username and password to login

 

For assistance, contact the IS Service Desk.

Details

Article ID: 51184
Created
Wed 3/28/18 2:59 PM
Modified
Thu 8/1/19 12:37 PM

Related Articles (1)