PageContent

OpenVPN for Linux


 

Download and install OpenVPN

All suggested commands must be used by privileged user or root.

It is possible to install OpenVPN using the package manager already available

# sudo yum(dnf) install openvpn

Download and import the configuration

Download the OpenVPN configuration file  in /etc/openvpn/clients.conf

Connect to the VPN

Run the comand:

# sudo openvpn –config /etc/openvpn/clients.conf

At this point enter your NATIONAL/AAI account with the following syntax:

Enter Auth Username: username@bo.infn.it

Enter Auth Password: *******************

If everything has been done correctly on your system a tun0 network interface will be configured with Tcp/Ip 10.8.0.xxx address which will be natted on the Tcp/Ip address of the OpenVPN Server.