An VPN (Virtual Private Network) is a networking technology that can be used to connect one or more PCs to a private network through the Internet. Companies regularly use them so that their employees, from their homes, hotels, etc., can access resources in the corporation that, otherwise, they could not. However, connecting an employee's computer to corporate resources is just one of the many functions that a VPN can offer as we explain in this tutorial.
A VPN can also be used to circumvent or bypass geolocation (geographic) limitations. For example, in some countries Netflix is blocked, in other cases certain videos on YouTube may also be blocked for copyright reasons, etc. Through a VPN you would circumvent and bypass the censorship imposed either by a government or an ISP (Internet Provider) or by the content producer, VPN also protects your privacy in case you live where the government or another entity wants to know what you do on the network, by using the VPN all the information that travels from your computer to the remote server of the content you consume as well as the incoming information will be traveling through an encrypted tunnel where only your computer and the remote server can see your data and information about your activity on the internet.
Using VPN you can also protect your privacy when using public Wi-Fi networks. Nobody in the cafeteria or public cafe will be able to see your private information that otherwise without the VPN could be spied on.
We will proceed to install a VPN to Deepin, which is VPNBook:
STEP 1: Download the files
We select from the website. In my case I download
DE OpenVPN Certificate Bundle (DE represents Germany).
STEP 2: Extract and modify files
- After extracting, we choose any file, preferably the one that contains the tcp80.
- We make sure to duplicate the file.
- We rename the duplicate file to
- From deepin 15.7 the extension must be renamed
STEP 3: Install dependencies
The vast majority of Linux distributions already have the vast majority of these dependencies installed. However, in case of malfunctions, you will need to install the following packages:
sudo apt-get install libpkcs11-helper1 network-manager-openvpn openvpn libpkcs11-helper1 openvpn resolvconf network-manager-pptp pptp-linux network-manager-openvpn-gnome network-manager-pptp-gnome
Step 4: Configure VPN
- We go to network settings, in VPN we press import.
- We choose the original file (* .ovpn) from which we duplicated previously.
- (Optional) We change the name of the VPN to distinguish it, in my case I will name it FreeVPN.
- put the username Y password who they are on page
- We change the type of CA certification by choosing the file
vpnbook-ca.crtwe created earlier.
- Finally SAVE
STEP 5: Connect to the created VPN network
- If you use a firewall, you should know that the ports TCP80 , TCP443, UDP53 or UDP25000 they must be open for the VPN to connect.
- The VPN network works temporarily, so there is a possibility that it may stop working. The good news is that the page updates the new files and accesses, so you should only follow the steps explained above again.