💡 Need a VPN account?

Get started with WorldVPN — secure, fast, and private browsing from just $1.12/month.

View Plans & Order →
Step-by-Step Guide

How To Setup WireGuard on Ubuntu

Follow these simple steps to get connected quickly and securely.

1

Install WireGuard

  • Open a terminal and install WireGuard: sudo apt update && sudo apt install wireguard
  • For GUI support (optional), install: sudo apt install network-manager-wireguard
2

Access VPN Panel

3

Create WireGuard Configuration

  • In the WireGuard section, click "Add WireGuard Config" or similar button to create a new configuration.
  • Follow the prompts to complete the configuration creation.
  • Once created, click "Download Config" to download the WireGuard configuration file (.conf).
4

Import Configuration to Ubuntu

  • Option 1 - Command Line (Recommended):
  • Transfer the downloaded .conf file to your Ubuntu machine (e.g., to your Downloads folder).
  • Copy the configuration file to the WireGuard directory: sudo cp ~/Downloads/worldvpn.conf /etc/wireguard/
  • Set appropriate permissions: sudo chmod 600 /etc/wireguard/worldvpn.conf
  • Option 2 - Network Manager GUI:
  • Click on the network icon in the top-right corner and select "Settings" or go to Settings > Network.
  • In the left sidebar, click on "VPN".
  • Click the "+" button to add a new VPN connection.
  • Select "Import from file" and choose the downloaded .conf file.
  • Click "Add" to import the configuration.
5

Connect to WorldVPN

  • Using Command Line: Start the WireGuard connection with: sudo wg-quick up worldvpn
  • Using Network Manager GUI: Click on the network icon in the top-right corner, select your WireGuard connection, and click "Connect".
  • To enable automatic connection on boot (command line method): sudo systemctl enable wg-quick@worldvpn
6

Verify Connection

  • Check the connection status with: sudo wg show
  • You should see connection details including your peer endpoint and data transfer statistics.
  • To disconnect (command line): sudo wg-quick down worldvpn
💡 Need a VPN account?

Get started with WorldVPN — secure, fast, and private browsing from just $1.12/month.

View Plans & Order →