Introducing PureSquare – for security beyond VPNs

Visit our website

Don’t worry about forgetting your passwords ever again with the all-new password manager. Try PureKeep

How to manually setup OpenVPN Command-Line in Linux

Jul 27, 2016
Feb 14, 2023
0 Comments
Download PDF

You can now manually set up the OpenVPN command line in Linux through PureVPN. Check out the following steps to learn how you can do it in a few minutes.

  • The following tutorial works for Linux based OS’ alone, including Mint, Ubuntu, Debian.
  • Press CTRL+ALT+T to access the terminal.
Run command: sudo apt-get install openvpn
Press CTRL+ALT+T to access the terminal.  Run command: sudo apt-get install openvpn

Run command: wget

https://d32d3g1fvkpl8y.cloudfront.net/heartbleed/windows/New+OVPN+Files.zi
Run command: wget "https://d32d3g1fvkpl8y.cloudfront.net/heartbleed/windows/New+OVPN+Files.zip"
Run command: unzip New+OVPN+Files.zip
Run command: unzip New+OVPN+Files.zip
  • Rename the folder by right clicking folder New OVPN Files and change it to Open.
Rename the folder by right clicking folder "New OVPN Files" and change it to "Open"
Run command: cd Open
Run command: cd "Open"
Run command: sudo cp ca.crt TCP/* UDP/* Wdc.key /etc/openvpn/
Run command: sudo cp ca.crt TCP/* UDP/* Wdc.key /etc/openvpn/
1. Run command: cd /etc/openvpn/
2. Run command: sudo openvpn Sweden-tcp.ovpn
Note: In this case the Sweden-tcp server is used to connect to the VPN as an example. You are free to choose any server that best fits your requirements. In order to view all available servers and their names, press the Tab key twice immediately after sudo openvpn.
Run command: sudo openvpn Sweden-tcp.ovpn  Note: In this case the Sweden-tcp server is used to connect to the VPN as an example. You are free to choose any server that best fits your requirements. In order to view all available servers and their names, press the Tab key twice immediately after "sudo openvpn".
  • After Enter Auth Username, enter your VPN’s username.
  • After Enter Auth Password, enter your VPN’s password.
After Enter Auth Password, enter your VPN's password.
  • An initialization sequence will commence, and upon completion will present connection logs.
An initialization sequence will commence, and upon completion will present connection logs.
  • To disconnect: It is as simple as closing the terminal or pressing CTRL+C in order to terminate the VPN connection.
To disconnect: It is as simple as closing the terminal or pressing CTRL+C in order to terminate the VPN connection.
Was this article helpful? Rate and share your comments below. Your input matters to us and everyone else in the Cyber Security Community.

No Yes

Comments (0 )