User Tools

Site Tools


vpn:linux

This is an old revision of the document!


OpenVPN from Linux

CLI command

For Linux the installation of the OpenVPN client is very straight forward. First you download the openvpn clients using the normal package manager for your OS. For Ubuntu that is:

sudo apt-get install openvpn

and for Fedora thst is:

sudo dnf install openvpn

The you have to obtain a .ovpn file by mailing the helpdesk@strw.leidenuniv.nl. Once you have the .ovpn file you simply type:

sudo openvpn --config /path/to/config.ovpn

to start the VPN connection.

Graphical Interface

It is also possible to use your graphical winodw manager to control the openvpn connections. This can be done by installing the following package, for ubuntu:

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

or for fedora:

sudo dnf install NetworkManager-openvpn-gnome

When that is installed you can access the openvpn tool from the Network Manager. Go to Network Settings and add an OpenVPN connection: and import the .ovpn file you obtained earlier.

vpn/linux.1618233313.txt.gz · Last modified: 2021/04/12 13:15 by deul