How to use OpenVPN in Linux

Introduction

OpenVPN is for Virtual Private Network in Linux where the user can access to the private browser or private window.  It is for providing a flexible solutions for securing your data communication and also for remote computer access.

People usually wants to remotely access to the network where entry is illegal in their area or server. So, we have to use VPN to get access.

How to manually setup VPN using Terminal ?

  1. Open a terminal with ctrl + alt + t.
  2. Install OpenVPN :
  3. Open VPN configuration directory.
  4. Download OpenVPN configuration files with shell
  5. If you get an error, it’s because of a certificate:
  6. You have to unzip the package to run it, so you better install an unzip package:
  7. Now, extract ovpn.zip with terminal:
  8. And remove file that will no longer be used :
  9. sudo rm zip
  10. And you can use either of them for connection purpose:
  11. List all the available servers, it will print whole config list
  12. Now, choose a server you would like to use.
  13. Start OpenVPN  with a chosen config.
  14. After that, it will ask you for credentials which is NordVPN account credentials.
  15. So, now you have successfully connected to VPN. And to disbanded it just enter control + c.

 

Therefore, this is how you connec OpenVPN from terminal.

Leave a Reply

Your email address will not be published. Required fields are marked *