<2017-12-04>

Cisco AnyConnect VPN Clientを使用して接続しようとすると、次のエラーが表示されます。サーバ証明書の問題が原因で接続の試行に失敗しました。私は以前にこの問題を抱えていました. Ubuntu VPN with openconnect. By Ching-Wan Yip. Sudo apt-get install openconnect and network-manager-openconnect. Cisco AnyConnect Compatible VPN. This post explains how to install OpenConnect and configure it on Ubuntu. OpenConnect is a VPN client created to support Cisco's AnyConnect SSL VPN.

tl;dr

If you are running Ubuntu 17.10 and fail to install/start Cisco Anyconnect(version 4.5.0.2033):

Download lagu siti badriah suamiku kawin lagi gratis. fixed it for me.

Anyconnect Ubuntu

The whole story

To login into the virtual private network (VPN) of my university you need toinstall CiscoAnyconnect.

So I downloaded the installer from the university page and installed it

Anyconnect Ubuntu Command Line

(Actually this is not the latest version. On the Cisco page you can find version4.5.02036 but I don't know if this changes anything.)

After the installation an icon 'Cisco Anyconnect' appeared in my starter butnothing happend when I clicked the icon.No new window, no error message, nothing.

Ubuntu

So I had a closer look:

There was a log file in /tmp/ which told me that the everything was installedto /opt/cisco/anyconnect/.

If you cd to /opt/cisco/anyconnect/bin and run

you can configure yourVPN using the command line.

So it looks like there is something broken with the ui. Nevertheless, for me thisworkaround fixes all my problems.

But maybe we can fix the ui, too.

In /opt/cisco/anyconnect/bin there is a file called vpnui. Let's give it atry:

So now we have an error message!

Let's see how to fix this:

Looks like libpangox-1.0-0 is what we're looking for.

And … it works! ./vpnui as well as the 'Cisco Anyconnect' starter will let youconfigure your VPN.

Comments

Anyconnect vpn ubuntu

If you have comments, questions or opinions please drop me a line atblog AT zngguvnf dot org.Please tell me whether it's ok to publish your comment here or not.

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 ubuntu 18.04

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)

Anyconnect ubuntu certificate

Anyconnect Ubuntu 16.04

6. Activate the VPN by clicking the toggle switch inside your network settings. (screenshot)

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 Install

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.