How to setup UNICT VPN on ubuntu

Anahita Esfandiaryfard
2 min readMar 10, 2021

If you are a student or staff in the University of Catania, and you have access to using vpn and you are using linux os you may wonder how you can setup your vpn. I am using ubuntu so here its my setup.

  1. you should know that the type of vpn university provide is L2TP with a preshared password, so first, install the package
sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
sudo apt-get update
sudo apt-get install network-manager-l2tp network-manager-l2tp-gnome

2. Now if you go to vpn section of your os you notice that a new option added

3. Select L2TP and enter your gateway and username and password

4. Then select IPsec setting, select “Enable to IPsec tunnel to L2TP host” and add your pre-shared key

5. Select on PPP setting and make sure just “MSCHAPv2” is selected.

Save everything and enjoy using VPN :)

--

--

Anahita Esfandiaryfard

I am python backend developer, I love data and currently I am master of data science in university of Catania