Pascal researched and found that the error, anyconnect was not able to establish a connection to the specified secure gateway is a known problem with Cisco clients before version 4, when these earlier clients are installed on Ubuntu 16.04+. The solution is either to downgrade your Ubuntu, or upgrade your Cisco client. Set up a new VPN interface. In System Settings, open the Network panel and click the + button to create a new interface. On Ubuntu, select VPN from the list of interface types and click Create. Select the Cisco AnyConnect Compatible VPN connection type (and, on Ubuntu, click Create). Download the Anyconnect VPN client. OpenConnect is a client for Ciscos AnyConnect VPN. Some versions of Red Hat Linux and Ubuntu are compatible with the Cisco AnyConnect VPN client. The objective of this article is to guide you through installing and using AnyConnect VPN Client v49x on Ubuntu Desktop version 2004 using the User Interface UI. 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 Simply run the commands below to establish VPN connection to your VPN server gateway In this example, our VPN gateway is vpn.example.com. Ubuntu OS 16.04.1 LTS Note: Download the AnyConnect VPN Client package (anyconnect-linux.pkg) from the Cisco Software Download (registered customers only) site. Copy the AnyConnect VPN client to the ASA's flash memory, which is then downloaded to the remote user computers in order to establish the SSL VPN connection with the ASA.
- Cisco Anyconnect Vpn Client Ubuntu Installer
- Cisco Anyconnect Add Vpn
- Cisco Anyconnect Vpn Client Ubuntu 16.04
These instructions are for installing and using the Cisco AnyConnect client on Linux and have been tested with:
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
Other versions of Linux are known to support the Cisco AnyConnect client but have not been fully tested by ComTech. OpenVPN may also work as an alternative to the Cisco AnyConnect client but is not a supported configuration.
Installation
- Download the installation file.
- Uninstall any previous versions of the AnyConnect client, using the uninstall script by running:
sudo /opt/cisco/vpn/bin/vpn_uninstall.sh - Untar the gzip’d tar file, which creates a directory that begins with:
anyconnect - cd into the anyconnect directory.
- cd into the vpn directory.
- Install the VPN with the command:
sudo ./vpn_install.sh
Using the Cisco AnyConnect VPN client
To Connect with the NC State VPN with Duo
To Disconnect
- Click on the Cisco AnyConnect icon.
- In the Connection tab:
Click on Disconnect.
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). When using Stanford's VPN from home, we generally recommend using the Default Stanford split-tunnel VPN. This routes and encrypts all traffic going to Stanford sites and systems through the Stanford network as if you were on campus. All non-Stanford traffic proceeds to its destination directly.
- Full Traffic (non-split-tunnel). This encrypts all internet traffic from your computer but may inadvertently block you from using resources on your local network, such as a networked printer at home. If you are traveling or using Wi-Fi in an untrusted location like a coffee shop or hotel, you may wish to encrypt all of your internet traffic through the Full Traffic non-split-tunnel VPN to provide an additional layer of security.
You can select thy type of VPN you want to use each time you connect to the Stanford VPN.
Cisco Anyconnect Vpn Client Ubuntu Installer
Install the OpenConnect client
- On Debian-compatible distributions (including Ubuntu), install the network-manager-openconnect-gnome package.
- On RedHat-compatible distributions (including Fedora and CentOS), install NetworkManager-openconnect-gnome.
Set up a new VPN interface
Cisco Anyconnect Add Vpn
- In System Settings, open the Network panel and click the + button to create a new interface.
- On Ubuntu, select VPN from the list of interface types and click Create.
- Select the Cisco AnyConnect Compatible VPN connection type (and, on Ubuntu, click Create).
- Choose a name for the connection (e.g., Stanford) and set the Gateway to su-vpn.stanford.edu. Then, click Add (or Save).
Connect to the Stanford VPN
Cisco Anyconnect Vpn Client Ubuntu 16.04
- In the Network panel, turn the new interface on.
- On Ubuntu, in the System menu you may also click the Network icon select the new interface from the list of VPN Connections.
- On Fedora, in the System menu you may choose VPN Off and click Connect.
- In the Connect to VPN dialog box, enter the following information and then click Login.
- GROUP: select Default Stanford split- tunnel or Full Traffic non-split-tunnel
- Username: your SUNet ID
- Password: your SUNet ID password
Complete the two-step authentication.