Openconnect Cisco Anyconnect Ubuntu



OpenConnect SSL VPN software was created to allow remote users and employees to securely connect to a Cisco, Juniper or Palo Alto SSL VPN gateway running in an enterprise environment from Linux systems..

  • Daniel Schneider for his Using Cisco AnyConnect VPN with openconnect page on GitHub, which I adapted originally for these instructions. Tom Distler, for the Tux/Cisco image at the top of this page, which I mooched from his page, How to connect Linux to a Cisco VPN using a PCF file.
  • You have searched for packages that names contain openconnect in all suites, all sections, and all architectures. Found 7 matching packages. Exact hits Package openconnect. Xenial (16.04LTS) (net): open client for Cisco AnyConnect VPN universe 7.06-2build2: amd64 arm64 armhf i386.
  • I needed to maintain a continuous (or near-continuous) VPN connection to a server (server 1) from another server (server 2) that was running a Tomcat web-app (on Ubuntu Server 16.04). Server 1 was part of a network which provides secured VPN access to external connections via Cisco Anyconnect.

OpenConnect is not officially supported by these network vendors (Cisco Systems, Juniper Networks, Pulse Secure, or Palo Alto Networks), However, if you’re using a Linux machine with no official or limited support, you should look at OpenConnect SSL VPN client instead to help you connect to your company’s VPN gateway…

The Cisco AnyConnect VPN client for Linux is recommended. The following instructions are provided for those who prefer to use a built-in VPN client for Linux. Overview Stanford's VPN allows you to connect to Stanford's network as if you were on campus, making access to restricted services possible. Two types of VPN are available: Default Stanford (split-tunnel).

Employees can use OpenConnect SSL VPN client to connect, and if authentication is approved, the connected users or employees are grant access to internal resources..

To learn how to install the official Cisco’s AnyConnect SSL VPN client, read this post..

This post shows you how to install OpenConnct SSL VPN client on Ubuntu 18.04 or 16.04 and connect to popular VPN server gateway…

When you’re ready to install OpenConnect, follow the steps below:

Step 1: Install OpenConnect

Openconnect cisco anyconnect ubuntu download

OpenConnect SSL VPN client is included with Ubuntu repositories by default… No additional software and configurations needed to get the package..

Simply use the commands below to install OpenConnect on Ubuntu machines..

Step 2: Connect to SSL VPN Servers

Once OpenConnect package has been successfully installed on Ubuntu, you should be ready to connect to SSL VPN servers, which can Cisco’s AnyConnect SSL VPN and Juniper Pulse Connect Secure…

Install Cisco Anyconnect

Simply run the commands below to establish VPN connection to your VPN server gateway… In this example, our VPN gateway is vpn.example.com

sudo openconnect -u user --passwd-on-stdin vpn.example.com

Replace vpn.example.com with the gateway of your SSL VPN gateway server name or IP… Press enter to initiate the connection… if the server is up, you should be prompted for a password to authenticate….

Openconnect Cisco Anyconnect Ubuntu

After a successful connection and authentication, you should see similar message as below:

Openconnect Cisco Anyconnect Ubuntu Installer

That’s it! You’re not connected and can use internal resources from your Linux machine…

Congratulations! You have successfully installed and configure OpenConnect to access Cisco and other VPN providers gateway…

You may also like the post below: