Ubuntu LTS Linux connect to UBC VPN with OpenConnect

For Windows users, you can follow the UBC VPN setup guild.
Basically just download and run Cisco AnyConnect Secure Mobility Client on your Windows box. It works on both my Win7 and Win10 machines.

For Ubuntu LTS Linux (OSX will work):

Step 1 : Install OpenConnect

sudo apt-get install openconnect

Step 2 : Connect to UBC VPN

sudo openconnect -u username myvpn.ubc.ca

It has to run on privilege.
After you run this command, the vpn server will prompt you for asking your password.

After all it should work 🙂

For OSX just install port and use port command instead of apt-get

sudo port install openconnect

One thought on “Ubuntu LTS Linux connect to UBC VPN with OpenConnect

  1. Thank you for posting this! This and your next post about Xming couldn’t have been more relevant for what I am doing.


Comments are closed.