Summery: In this article you will learn how to configure VPN on Ubuntu with OpenVPN
What is a VPN?
VPN acronym of Virtual Private Network is a technology that helps us to connect our computers or devices into a less secure network over a safe and encrypted connection. In order to ensure that only proper users and data sessions cross to a VPN device, data encapsulation and encryption are used.
There are many benefits that you can get when using a VPN. Some of them are,
- Enhanced security
- Bypass Geo-restriction
- Speed and Reliability
- Sharing of Files
How to Install a VPN in Ubuntu
First, open your terminal and install OpenVPN client using the below command.
apt-get install openvpn
Now download one of the VPNBook OpenVPN profile bundles by visiting this URL. Note down the username and password at the bottom of the web page.
Once the download completed Extract the profile bundle. You will get 3 or 4 .ovpn files.
Finally Open OpenVPN Client together with one of the .ovpn file using the below command. Enter the username and password you saved earlier when asked.
sudo openvpn --config <your .ovpn file>
That’s how you can easily install and configure VPN on Ubuntu with OpenVPN.