Skip to main content

VPN - Setup and Usage on Linux

For VPN setup and usage instructions using the command line interface in Linux, reference the following information.

OS:
Layout:
one column
two columns

Get the Software

Download the needed Linux VPN client for your purposes:

Cisco AnyConnect client for Linux

Install AnyConnect

Ubuntu Distributions

Download and install from inside the extracted location using a command similar to:

cd ~/Downloads/anyconnect-linux64-4.4*/vpn/

sudo ./vpn_install.sh

*Note: This example is if you extracted the files in your download folder. If necessary, replace Download with your extract location.

Mint Distributions 

In Terminal, run the following to install dependencies:

sudo apt-get install network-manager-openconnect-gnome

Extract the zip and change the terminal directory to the included "vpn" folder by running:

cd [extracted folder location here]/vpn

*Note: the installer will fail if the terminal is pointed to any other directory

Run the following commands to finish install of the program: 

sudo chmod +x vpn_install.sh

sudo vpn_install.sh

Using AnyConnect

CONNECT

/opt/cisco/anyconnect/bin/vpn connect vpn.colorado.edu

DISCONNECT

/opt/cisco/anyconnect/bin/vpn disconnect

STATUS

/opt/cisco/anyconnect/bin/vpn status

AnyConnect Uninstall

sudo /opt/cisco/anyconnect/bin/vpn_uninstall.sh

Then delete the whole /opt/cisco/anyconnect folder

cd /

rm -rf /opt/cisco/anyconnect/

*proceed to AnyConnect client installation directions above