Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:services:network_services:vpn:linux [2020/03/16 22:42] sklemeren:services:network_services:vpn:linux [2023/11/30 17:36] (current) sklemer
Line 1: Line 1:
 +====== OpenConnect (Linux) ======
 +On Linux systems, both the Cisco AnyConnect-Client and its open implementation **OpenConnect** can be used to connect to the VPN.
 +We encourage you to use OpenConnect.
 +
 +<WRAP center round important 100%>
 +Due to the current load in VPN, two more servers were set up in addition to vpn.gwdg.de: ** vpn-b.gwdg.de ** and ** vpn-c.gwdg.de **. We recommend using one of them. This is only possible with the AnyConnect and the OpenConnect clients; ** not with vpnc **.
 +</WRAP>
 +
 +===== Installation and configuration of OpenConnect (with NetworkManager) =====
 +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) |
 +{{ :de:services:network_services:vpn:01-ubuntu.png | }} \\
 +{{ :de:services:network_services:vpn:21-ubuntu.png | }} ++
 +<code>
 +sudo apt-get install network-manager-openconnect-gnome
 +</code>\\
 +
 +Alternatively, you can search and install //network-manager-openconnect-gnome// via the Ubuntu Software Center.
 +
 +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) |
 +{{ :de:services:network_services:vpn:06-ubuntu.png | }} \\
 +{{ :de:services:network_services:vpn:22-ubuntu.png | }} ++
 +
 +3. Click on the **PLUS** symbol to the right of "VPN". ++ (screenshot) |
 +{{ :de:services:network_services:vpn:08-ubuntu.png | }} ++
 +
 +4. Choose the option **Cisco AnyConnect compatible VPN connection (openconnect)**. ++ (screenshot) |
 +{{ :de:services:network_services:vpn:23-ubuntu.png | }} ++
 +
 +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**. ++ (screenshot) |
 +{{ :en:services:network_services:vpn:vpn-linux02.png | }} ++
 +
 +5.5 Add "**AnyConnect actually OpenConnect**" as the **User Agent**. Then click **Add**. ++ (screenshot) |
 +{{ :en:services:network_services:vpn:clipboard_-_november_22_2023_10_11.png | }} ++
 +
 +6. Activate the VPN by clicking the toggle switch inside your //network settings//. ++ (screenshot) |
 +{{ :de:services:network_services:vpn:25-ubuntu.png | }} ++
 +
 +Alternatively, you can also click on your network connection in the top right corner and activate the VPN from there. ++ |
 +{{ :de:services:network_services:vpn:16-ubuntu.png | }} ++
 +
 +7. Insert your login credentials. This is typically your email address with the corresponding password. Then click on \\Login\\ ++ (screenshot) |
 +{{ :de:services:network_services:vpn:18-ubuntu.png | }} ++
 +
 +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.
 +
 +
 +===== Cisco AnyConnect-Client =====
 +To use the Cisco AnyConnect-Client on Linux, you first have to install some dependencies.
 +On Debian based distributions such as ubuntu, this can be done with the following command.
 +<code>
 +sudo apt-get install zlib1g zlibc libgtk2.0-0 libgdk3.0-cil libpango-1.0-0 libpangox-1.0-0
 +</code>
 +After installing these dependencies visit [[https://vpn.gwdg.de|vpn.gwdg.de]] and follow the installation process as described by [[en:services:network_services:vpn:anyconnect|Cisco AnyConnect]].