Skip to main content
All CollectionsLinux Setup GuidesDebian-based
OpenVPN CLI Setup for Ubuntu Linux
OpenVPN CLI Setup for Ubuntu Linux
Richard avatar
Written by Richard
Updated over 2 years ago

Step 1


for this guide, we will select a Sweden-based server.


Step 2

Proceed to Terminal application.


Step 3

In the Terminal, enter this line: sudo apt-get install openvpn curl


Enter Y to continue...


Step 4

Enter: sudo openvpn [path of the configuration file]


Step 5

Enter your PrivateVPN registered email address and Password.


Step 6

Wait for a few seconds..


You are connected to the VPN as soon as you see the message: Initialization Sequence Completed.


To disconnect from the VPN, return to the terminal and hit Ctrl + C.

Did this answer your question?