- Rahul
How we can setup VPN in Linux environment? | Computercooltricks

Virtual Private Network ‘VPN‘ is a secure network connection that establishes an encrypted connection while sending and receiving data on a laptop or pc.
By using a VPN it helps us to access any website that has been blocked by the government or by a network provider.In this tutorial, I will help you to set up a VPN on Linux, Ubuntu-based distributions Laptop, or pc.
Basically, VPN used to access some blocked websites or any type of services such as blocked by country or geographical block. We believe in sharing the knowledge along with accessing everything on the Internet.
Most important let me clear VPN is not only for accessing blocked websites basically VPN technology is also used by induvial or anyone on the Internet. for secured respective wireless transitions for protecting own personal identity and location.
As we know many online VPN services are available but in this blog, we will cover VPNBOOK
VPNBOOK is a free ( virtual Private Network designed with the latest and advanced technologies cryptographic techniques are using to keep us safe on the Internet from tracking and hackers. VPN book securely routing all your internet traffic from an encrypted tunnel to bypass government, monitoring by ISP. VPN book keep us safe and secure and provide free and secure PPTP and Open VPN services that are free to all
Setup VPN In Linux Or Ubuntu Based Distributions
1) Create an OpenVPN free account by using the below link OpenVPN Account
Complete all the account creation and confirm the email account. After that, we will set up a VPN using an OpenVPN account.
2) Now open vpnbook.com and at the click on the OpenVPN and download any of the certificate bundles. keep in mind need to note down the username and password I have also highlighted in the image.

Now we need to extract the downloaded bundle and create 3 files with the extracted folder and name them as ca.crt, certificate.crt, and key.key Now we will open .ovpn files in the text editor. you will need to copy the text from .ovpn file to the created text file ca.crt, certificate.crt and key.key
Note
Copy all text between <ca> </ca> tags and paste into ca.crt file.
Copy all text between <cert> </cert> tags and paste into certificate.crt file.
Copy all text between <key> </key> tags and paste into key.key file.
Once we copied and done everything into ca.crt, certificate.crt, and key.key then save it.
3) Now we will set up an OpenVPN connection on the pc.
Open a terminal and install VPN plugin
$ sudo apt-get install network-manager-openvpn
Now open system network configuration and click need to click on configure VPN and add open VPN network as in the below image.


Now fill all the fields as I mentioned below-
Connection name – Any name as per your choice
Gateway – IP Address of the profile you chose (click here for image example) vpnbook-us-tcp80.ovpn
Type – Password with Certificates (TLS)
Username – Enter username from step 2
Password – Enter the password from step 2
User Certificate – Browse certificate.crt file
CA Certificate – Browse ca.crt
Private Key – Browse key.key file
Private Key Password –will be blank
Click on the Advanced button
Open your .ovpn file (I’m using vpnbook-us-tcp80.ovpn)
Use custom gateway port – port from your .ovpn file
Use LZO data compression
Use a TCP connection
Switch to the Security tab
Cipher – Choose from your selected .ovpn file (AES-128-CBC in my file) (click here for image example)
Click okay and save all the configurations. Now from the network tab click on connect to VPN and you are all done. Finally, you have configured the OpenVPN connection successfully into your Linux base pc or laptop. Conclusion
VPN is highly recommended while we are using public WiFi. it will make your sensitive data secure and make it extremely hard to crack. so use a VPN to secure your sensitive data. | Computercooltricks #Becybersafe #cyberSecurity