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.
Quick review
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
vpnbook-ca.crt
- From deepin 15.7 the extension must be renamed
.ovpn
by.conf
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.crt
we created earlier.
- Finally SAVE
STEP 5: Connect to the created VPN network
Notes:
- 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.
Excellent information, now I will surf safer
Thanks for posting; great contribution. Now bad people won't be able to attack me; )
Very good contribution !
Greetings, I have a VPN in my company, I already exported the config.ovpn file but when I import it into Deepin, it connects well, or at least it says that it connects, but I can't really access the VPN, it's like no route packets through it. Any ideas?
Hello, I saw this solution in the Telegram group - https://t.me/deepinenespanol/494513 - consists of installing a package with the following command
Sudo apt install network-manager-pptp
Hope this is still helpful or at least helps someone in the future. Please advise if your problem with this has been resolved or if you found any other solutions.
Greetings.
Good morning, in the deepin 15.11 version it leaves me marked in red when configuring VPN private password, what do I have to put there?
Hello, could you please attach screenshot? Your question is not very clear to me.