Ubuntu VPN with openconnect. By Ching-Wan Yip. Sudo apt-get install openconnect and network-manager-openconnect. Cisco AnyConnect Compatible VPN. 経緯私の大学では「cisco anyconnect secure mobility client」を通じてSSL-VPN接続を行っています。Windows版や、Mac OS版の接続方法は教示してくれますが、Linux (ubu.
This tutorial has been designed and tested for Ubuntu 18.04 systems. For other distributions, the necessary packages and the user interface may differ.You can find screenshots for almost any step by clicking on “(screenshot)”.
1. To install the necessary packages, run the following command and accept all the dependencies. (screenshot)
Alternatively, you can search and install network-manager-openconnect-gnome via the Ubuntu Software Center.
Anyconnect For Ubuntu
Afterwards log out of your current session and log back in, to activate the newly installed plugin.
2. To configure the VPN connection, open your system settings and navigate towards network settings. (screenshot)
3. Click on the PLUS symbol to the right of “VPN”. (screenshot)
4. Choose the option Cisco AnyConnect compatible VPN connection (openconnect). (screenshot)
5. Choose any name for your VPN and insert vpn.gwdg.de (or an alternative gateway such as vpn-b.gwdg.de) into the field Gateway. Then click Add. (screenshot)
6. Activate the VPN by clicking the toggle switch inside your network settings. (screenshot)
Anyconnect In Ubuntu
Alternatively, you can also click on your network connection in the top right corner and activate the VPN from there.
7. Insert your login credentials. This is typically your email address with the corresponding password. Then click on Login
(screenshot)
Anyconnect Ubuntu 18.04
You are now connected with the VPN. You can end the VPN session by again toggling the switch button or by clicking disconnect in the network settings in the right top corner of your screen.
Hello,
I am not able to connect with Cisco anyconnect.
When I do
./vpn connect <ip>
it says
>> state: Disconnected
>> warning: No profile is available. Please enter host to 'Connect to'.
>> notice: VPN Service is available.
>> registered with local VPN subsystem.
>> state: Disconnected
>> notice: VPN Service is available.
VPN> >> contacting host (<ip>) for login information...
>> notice: Contacting <ip>.
>> warning: Unable to process response from <ip>.
>> error: Connection attempt has failed due to server communication errors. Please retry the connection.
>> state: Disconnected
If I use 'sudo'
>> error: AnyConnect profile settings mandate a single local user, but multiple local users are currently logged into your computer. A VPN connection will not be established.
>> error: AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again.
>> notice: Connection attempt has failed.
>> state: Disconnected
Kindly Help