Difference between revisions of "VPN with Networkmanager"

From IT Service Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This article shows you how to log into our VPN network without using the terminal. This method is by far more convenient and you also may find this helpful, if you are not very familiar with command lines.  
+
This article shows you how to log into our VPN network without using the terminal. This method is by far more convenient and you also may find this helpful if you are not very familiar with command lines.  
 
We will use a VPN Plugin called network-manager.
 
We will use a VPN Plugin called network-manager.
  
 
==Installation==
 
==Installation==
  
Open up a terminal of your choice (Ctrl + T) and install OpenVPN Network Manager by tying the following line:
+
Open up a terminal of your choice (Ctrl + T) and install OpenVPN Network Manager by typing the following line:
  
 
   sudo apt-get install network-manager-openvpn-gnome
 
   sudo apt-get install network-manager-openvpn-gnome
Line 18: Line 18:
 
== Getting Started ==
 
== Getting Started ==
  
<br>[[File:step_01.png|thumb|x50|Ubuntu 14.04]]
+
<br>[[File:step_01.png|thumb|x50|Menu in the top right corner in Ubuntu 14.04]]
 +
[[File:Settings-network.png|thumb|x50|Settings menu in Ubuntu 18.04]]
 +
[[File:Settings-network-vpn.png|thumb|x50|VPN Settings in Ubuntu 18.04]]  
  
 
To get VPN access you must set up a new VPN connection first. Click on the two arrow symbol (or the WiFi symbol - depending on which connection you are currently using) in the top right corner.  
 
To get VPN access you must set up a new VPN connection first. Click on the two arrow symbol (or the WiFi symbol - depending on which connection you are currently using) in the top right corner.  
Line 26: Line 28:
 
You will be asked for the connection type.  
 
You will be asked for the connection type.  
 
: Choose <code>OpenVPN</code> and click on <code>Create...</code>.
 
: Choose <code>OpenVPN</code> and click on <code>Create...</code>.
Now you have to edit and configure your connection. Choose any connection name e.g. itp_openvpn. <br>
+
If in the top right corner the option <code>VPN Connections</code> does not exist, the open the normal settings and add a new openvpn connection in <code>Network</code>.
 +
 
 +
Next you need to edit and configure your connection. Choose any connection name (e.g. itp_openvpn). <br>
  
 
For the '''Gateway''' type:
 
For the '''Gateway''' type:
   vpn.th.physik.uni-frankfurt.de
+
   vgw.itp.uni-frankfurt.de
Under '''Authentication''' select <code>Password</code> as authentication type. Enter your user name and password and choose the CA Certificate 'localca.full.pem'. It can be downloaded [http://th.physik.uni-frankfurt.de/~thw/vpn/private-ca-itp.crt here].
+
 
 +
(old gateway: vpn.itp.uni-frankfurt.de)
  
<br>[[File:step_04.png|thumb|left|x50|VPN Settings]]
+
Under '''Authentication''' select <code>Password</code> as authentication type. Enter your user name and password and choose the CA Certificate 'private-ca-itp.crt'. It can be downloaded [http://th.physik.uni-frankfurt.de/~thw/vpn/private-ca-itp.crt here].
Save your changes.
 
  
 
Your new VPN connection will be listet in '''Network Connections'''.
 
Your new VPN connection will be listet in '''Network Connections'''.

Latest revision as of 10:26, 17 February 2020

This article shows you how to log into our VPN network without using the terminal. This method is by far more convenient and you also may find this helpful if you are not very familiar with command lines. We will use a VPN Plugin called network-manager.

Installation

Open up a terminal of your choice (Ctrl + T) and install OpenVPN Network Manager by typing the following line:

 sudo apt-get install network-manager-openvpn-gnome

Please enter your password to confirm the installation.

After the successful installation NetworkManager must be restartet:

 sudo service network-manager restart

Again, confirm with your password if necessary.

Getting Started


Menu in the top right corner in Ubuntu 14.04
Settings menu in Ubuntu 18.04
VPN Settings in Ubuntu 18.04

To get VPN access you must set up a new VPN connection first. Click on the two arrow symbol (or the WiFi symbol - depending on which connection you are currently using) in the top right corner.

Now choose VPN Connections -> Configure VPN....

A new window will open up.

Click on Add to add a new connection.

You will be asked for the connection type.

Choose OpenVPN and click on Create....

If in the top right corner the option VPN Connections does not exist, the open the normal settings and add a new openvpn connection in Network.

Next you need to edit and configure your connection. Choose any connection name (e.g. itp_openvpn).

For the Gateway type:

 vgw.itp.uni-frankfurt.de

(old gateway: vpn.itp.uni-frankfurt.de)

Under Authentication select Password as authentication type. Enter your user name and password and choose the CA Certificate 'private-ca-itp.crt'. It can be downloaded here.

Your new VPN connection will be listet in Network Connections.

Using a VPN Connection

To access a VPN network just click on the arrow or WiFi symbol on the top right corner. Your configured connection should be found under VPN Connections.