Knowledgebase

OpenVPN Ubuntu Template - Getting Started Print

  • OpenVPN, VPS, VPN, Getting, Started, Guide, Setup
  • 0

Getting Started Guide

Welcome to your new OpenVPN VPS powered by VM6 Networks!
This guide explains how to find your connection details, download your VPN profile, and connect securely through your new private VPN server.


Step 1 – Access Your VPS

After your VPS has finished deploying, log in via SSH using the credentials provided in your VM6 Networks client area.

Example (from Windows PowerShell, macOS Terminal, or Linux shell):

 
ssh root@<your-vps-ip>

Replace <your-vps-ip> with the IP address of your VPS.
Once logged in, you’ll be in the /root directory.

Step 2 – Find Your VPN Credentials

All of your OpenVPN connection details are saved in a text file for convenience.

Run the following command:

 
cat /root/credentials.txt

You’ll see something like this:

 
Your OpenVPN server is ready! Server IP: 185.83.xxx.xxx Port: 1194/UDP Protocol: UDP Client profile: /root/client.ovpn

The file /root/client.ovpn contains your complete VPN configuration — certificates, keys, and connection settings — all embedded and ready to import.


Step 3 – Download Your Client Profile

You’ll need to copy the /root/client.ovpn file to your computer or mobile device.

On Windows

Use WinSCP or MobaXterm:

  1. Connect to your VPS using the same root credentials.

  2. Navigate to the /root/ directory.

  3. Download the file client.ovpn to your desktop.

On macOS or Linux

Use the command:

 
scp root@<your-vps-ip>:/root/client.ovpn .

This copies the file to your current local folder.


Step 4 – Connect to Your VPN

On Desktop (Windows / macOS / Linux)

  1. Install OpenVPN Connect (or OpenVPN GUI on Windows).

  2. Open the app and click Import Profile → File.

  3. Select your client.ovpn file.

  4. Click Connect.

On Mobile (Android / iOS)

  1. Download the OpenVPN Connect app from your App Store or Google Play.

  2. Email or transfer your client.ovpn file to your phone.

  3. Tap the file to import it into the app.

  4. Tap Connect.

You’ll be connected within seconds.


 Step 5 – Verify Your Connection

Once connected, check your new IP address at:

https://whatismyipaddress.com

You should see your VPS IP address, confirming your traffic is encrypted and routed through your server.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution