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
2: After that, open your network settings and click on "+" sign next to the VPN.
3: Select "OpenConnect".
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".
5: Now your Ocserv VPN profile on Ubuntu has been created. Turn on its switch.
6: If it shows a certificate confirmation message, then click "OK" or "I really know what I am doing", and click "Connect anyway".
7: Now enter your VPN username as provided by your VPN service provider and click "Login".
8: Then enter your VPN password, check mark "Save passwords" and click "Login".
9: Wait for a few seconds and then your Cisco AnyConnect compatible OpenConnect VPN on Ubuntu Linux will be connected.
10: Later, you can connect and disconnect the VPN from your network menu.
More Ubuntu Free VPN Tutorials
- OpenVPN on Ubuntu Using the Network Manager
- Set up OpenVPN on Ubuntu Using the Terminal Command Line
- Set up PPTP VPN on Ubuntu Linux
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.