This is an old revision of the document!
20200508 These instructions are obsolete. LU changed the way to connect to the VPN. I am investigating.
The Lund University VPN is a system to secure connect from outside the LU network to services and machines inside the LU network. It should be used when travelling or when connecting from non secure places.
Instructions on how to configure it for windows and macOS are available at the official documentation website:
For other systems only generic instructions are given:
But below I will detail how to configure and install in commonly used GNU/Linux distributions.
The VPN connection is based on a networkmanager plugin for gnome. If you're not running network manager and/or gnome, there might be other solutions, please contact me.
sudo apt-get install network-manager-l2tp network-manager-l2tp-gnome
However, in some cases the browser and other applications will fail to detect the non-vpn network again, so one way to make it happen faster is to restart the network manager AFTER disconnecting from the VPN:
sudo systemctl restart network-manager
This is currently a bit sad to setup in Linux due to a bug. But it's good to have as it will encrypt your connection. If you are in a hurry you can avoid, but make sure you are not transferring sensitive information.
/etc/ipsec.confso that the top part looks like this:
# ipsec.conf - strongSwan IPsec configuration file # basic configuration config setup # strictcrlpolicy=yes # uniqueids = no enforceencaps = yes
sudo systemctl restart xl2tpd strongswan
These instructions are fork Kde5 (Plasma). If you have another window manager it might be different.
sudo zypper in NetworkManager-l2tp