- -
UPV
 
VPN con Linux Ubuntu
Infoacceso Acceso VPN VPN on computers VPN con Linux Ubuntu  ...

VPN configuration in Linux Ubuntu 20.04 & 22.04

Before starting, you should check the following points:

Run these commands as root in a terminal to install additional software.

If you are using a non-privileged user you can run the commands using sudo:

sudo apt update
sudo apt upgrade
sudo apt-get install network-manager-vpnc
sudo apt-get install network-manager-vpnc-gnome
sudo systemctl restart NetworkManager

Ubuntu has a standard method to connect to a VPN, but due to a bug in some versions, it doesn't always work.

If you have trouble connecting using the standard method, use the alternative method.






VPN configuration - standard method

Open the Ubuntu settings from the top bar, on the right side of the screen:

You can also open the settings by clicking on the icon on the left sidebar, at the bottom and then, accessing Settings:

We create a new VPN:

We choose a connection of type "vpnc":

We set the parameters:

gateway: vpn.upv.es

user: according to the instructions above

password: according to the instructions above

Group Name: soloupv

Group password: upvnet

And we will click on the "Añadir" button, in the upper right of the screen.

If the button is disabled, we will have to configure the VPN as explained in the alternative method below.


We connect to the VPN after having configured it.

In case of connectivity problems, it may be necessary to specify the DNS of the UPV.

To do this, configure the following DNS: 158.42.250.195 y 158.42.250.65






VPN configuration - alternative method

We open a terminal and execute the command: nm-connection-editor

We select the type of VPN connection:

We configure the VPN:

gateway: vpn.upv.es

user: according to the instructions above

password: according to the instructions above

Group Name: soloupv

Group password: upvnet

Now we should save the settings, but we can't because the "Guardar" button is disabled.

To solve it, click on the button "Avanzadas..."

In "Nombre de la interfaz de túnel" field, write "tun0", without the quotes.

And click on the "Apply" or "Apply" button at the top right of the screen.

We see that the "Guardar" button is still disabled.

Next, we repeat the same step: press the "Avanzadas..." button and press the "Apply" or "Apply" button again.

Now the "Guardar" button is already activated and we can press it to create the new VPN connection.

We can now connect to the VPN:

In case of connectivity problems, it might be necessary to specify the DNS of the UPV.

To do this, configure the following DNS: 158.42.250.195 y 158.42.250.65


EMAS upv