• Level up your digital security with the all-new password manager.

Introducing PureKeep, a premium password manager. You can keep your passwords safe and accessible whenever you need them. Get Started

How to manually setup OpenVPN Command-Line in Linux

Jul 27, 2016
Sep 16, 2022
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.
Note: Dedicated IP addon can be only be connected with Ras protocol i.e PPTP/L2TP/SSTP/IKEV.
  • 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 )