Set up Cisco AnyConnect Compatible OpenConnect VPN on Ubuntu Linux

This tutorial explains how to set up a Cisco AnyConnect compatible OpenConnect VPN on Ubuntu Linux. Follow step-by-step to set up an OpenConnect Ubuntu VPN.

  • We used the FastestVPN for this tutorial. While you can use any VPN service which offers the OpenConnect or Ocserv or SSL protocol.

Set up OpenConnect VPN on Ubuntu Linux

Note: To set up the Cisco AnyConnect compatible OpenConnect VPN, you need to make sure that your VPN service provider offers the "OpenConnect" or "Ocserv" VPN protocol. FastestVPN is one of such VPN services.

1: Install Cisco AnyConnect compatible OpenConnect plugin for Ubuntu. For this, open terminal and then enter this command:
sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome
openconnect ubuntu

2: After that, open your network settings and click on "+" sign next to the VPN.

cisco anyconnect ubuntu

3: Select "OpenConnect".

cisco anyconnect ubuntu

4: Enter any name for your VPN connection such as "Openconnect" or whatever you like. Then enter the VPN server address as provided by your VPN service provider.
Click on "Add".

openconnect linux client

5: Now your Ocserv VPN profile on Ubuntu has been created. Turn on its switch.

cisco VPN linux

6: If it shows a certificate confirmation message, then click "OK" or "I really know what I am doing", and click "Connect anyway".

ubuntu VPN client

7: Now enter your VPN username as provided by your VPN service provider and click "Login".

cisco anyconnect or openconnect linux ubuntu

8: Then enter your VPN password, check mark "Save passwords" and click "Login".

cisco anyconnect ubuntu

9: Wait for a few seconds and then your Cisco AnyConnect compatible OpenConnect VPN on Ubuntu Linux will be connected.

ocserv ubuntu

10: Later, you can connect and disconnect the VPN from your network menu.

ocserv vpn

More Ubuntu Free VPN Tutorials

The OpenConnect VPN or ocserv is an open-source Linux SSL VPN. It is basically designed so that organizations can make remote access VPN connections.

By following the steps given above, you can set up a Cisco AnyConnect compatible OpenConnect VPN on Ubuntu Linux, which is also known as Ocserv or SSL VPN. Besides, if you're looking for additional support for setting up Ubuntu OpenConnect, or any other Ubuntu VPN client, please Contact us for your questions, queries, feedback, or suggestions.

Add a comment


Please enter your comment!
Please enter your name here

Related posts