Setup VPN on Debian Linux With OpenVPN

This tutorial explains how to set up the Debian Linux VPN with the OpenVPN protocol using the network manager.

This tutorial is for the Debian Desktop version. If you want to set up the VPN on Ubuntu via command line, follow the guide here.

Initial Step: It is recommended to update the outdated packages on your system by running sudo apt update && sudo apt upgrade command on the terminal.


Step #1: Open the terminal and enter the following commands:

su

It will require the admin password. Enter it and then enter:

sudo apt install network-manager-openvpn-gnome

If it says that the package is already the newest version, then move to the next step.
Setup OpenVPN on Debian Linux

Step #2: Download the FastestVPN OpenVPN server config files from here.

Step #3: Go to your ‘Downloads’ and extract the downloaded folder.

Setup OpenVPN on Debian Linux

In the extracted folder, you will find two separate folders for TCP and UDP server files.

Setup OpenVPN on Debian Linux


Step #4: Click on the Network icon and click Settings. Then click the “+” sign next to VPN.

Setup OpenVPN on Debian Linux

Step #5: Select Import from file.
Setup OpenVPN on Debian Linux

Step #6: Navigate to the Downloads folder, and then fastestvpn_ovpn. Then open any of the folders TCP or UDP.

Setup OpenVPN on Debian Linux
Setup OpenVPN on Debian Linux
Step #7: Select your desired VPN server location and click on Open.

Setup OpenVPN on Debian Linux
Step #8: Now enter your FastestVPN Username and Password. Select an option to store the password..

Setup OpenVPN on Debian Linux

Step #9: Click the IPv6 tab and select Disable. Then click on Add

Setup OpenVPN on Debian Linux

Step #10: Your VPN profile has been created. Turn on its switch to connect to the VPN.

Setup OpenVPN on Debian Linux
Your VPN connection is under process.
Setup OpenVPN on Debian Linux
Now, this icon shows that the VPN has been connected.
Setup OpenVPN on Debian Linux

To disconnect from the VPN, click on the Network/ VPN icon and click Turn Off under the connected VPN connection name.

Setup OpenVPN on Debian Linux

Windows XP Tutorials