Hello,
in this article i will show you how we can install OpenVPN on Ubuntu system and also how we can use it on our computer.
But before that we need to know what is a VPN server, so VPN or Virtual Private Network is way to represente a group of computers connected in a private network over the public network (Internet). and These last days, the security of datas and computers is the primary concern for everyone and it’s a thing more required while working over the public network, so we must be careful when we are using a public network.
When you have a group of computers in a remote location, and you need to create a LAN network between the computers in your system, and also you need to secure the datas and the transfer of informations between computers. to do that with carfully you can use the VPN network to connect two remote location systems with each other as they are on the same LAN.
This tutorial will help you to install OpenVPN client software and connect to remote VPN network.
Before starting the installation you must have :
- Running OpenVPN server on remote.
- OpenVPN client configuration file.
first thing to do is to open your terminal, and use this command
sudo apt update
And after that run this command
sudo apt install openvpn -y
After installing OpenVPN you can now Copy your client configuration file on the machine and use the following command to connect to the OpenVPN server:
openvpn --config client.ovpn
if all thigs are good and the you have a successfull connection, OpenVPN will assign an IP address to your system. if you want to check that you can run the the following command:
ip a show tun0
with this command you will test your connection.
0 comments:
Post a Comment