Setting up WireGuard® VPNUK Access on Linux (Ubuntu Based OS)
This tutorial will guide you though the simple setup procedure for Linux Ubuntu operating systems (Pop!_OS, Debian, Mint, Etc..) using the official WireGuard® application available from wireguard.com. If you have a different Linux distribution please refer to the official setup guides at wireguard.com/install/ for the CLI. If you have any problems setting up your VPNUK connection, please reach out to our Live Help team. The setup of WireGuard® is very easy, we have added a pre-configured setup file to this setup tutorial.
WireGuard® configuration download
Please login using the VPN login username and password from the vpn account you would like to configure.
Click Here to download your WireGuard® configuration file, which is compatible with all devices.
IMPORTANT NOTES: A WireGuard® connection is currently only compatible with our Dedicated IP accounts. Each configuration file is generated automatically, twice per hour, the process can take up to 20 minutes to complete, it can therefore sometimes take up to 1 hour for a new configuration file to be created on new accounts. If you are a new user please allow the system time to generate your configuration file.
1: Install WireGuard & Network Manager Plugin
Install the required packages from wireguard.com/install/ or through your plugin manager:
sudo apt update
sudo apt install wireguard wireguard-tools network-manager-wireguard –
2. Download Your WireGuard Configuration File
Click here to download the WireGuard configuration file from our server or you can download the configuration file through the following command:
wget -O ~/vpnuk-wg.conf “https://clientcp.vpnuk.info/vpnuk/clients/device_script.php?t=wgcf”
3. Import WireGuard Config in GUI
- Open Settings > Network.
- Scroll down and click VPN.
- Click the + button to add a new VPN.
- Select Import from file.
- Locate and select the configuration file from your home directory.
- Click Add to save the configuration.
4. Enable WireGuard VPN
- Go to Settings > Network.
- Under the VPN section, click the WireGuard connection you just imported.
- Toggle the switch ON to connect.
5. Verify Connection
Run the following command to check if the VPN is active: wg
If connected, you should see the WireGuard interface with details such as:
- Interface name (wg0 or similar)
- Public key
- Allowed IPs
- Peer information
You can also check your external IP to confirm the VPN is working: curl ifconfig.me
This should return your unique VPNUK IP instead of your actual ISP’s IP.
Enjoy Secure VPN Access with VPNUK & WireGuard on Linux!
Did this guide help? Please provide us with feedback here or share it with others looking for a secure VPN setup on Linux!
Additional Settings & Options
1. Enable Auto-Connect on Boot
- Go to Settings > Network > VPN.
- Select your WireGuard connection.
- Enable Automatically connect to this network.
Alternatively, enable it via command line: nmcli connection modify vpnuk-wg autoconnect yes
Troubleshooting Common Issues
Cannot connect to VPNUK servers?
- Ensure your WireGuard configuration file is correct and up to date, we would always recommend fetching a new configuration file from our server if you are unable to connect. Click here to download a new configuration file.
- Try restarting WireGuard and your internet connection or router.
- Check if your firewall or antivirus is blocking WireGuard.
VPN is connected, but no internet?
- Go to WireGuard > Edit Configuration and ensure
AllowedIPs = 0.0.0.0/0, ::/0
is set correctly. - Try restarting your Windows network adapter.
“WireGuard” and the “WireGuard” logo are registered trademarks of Jason A. Donenfeld. WireGuard® is available and should always be updated from the developers website at wireguard.com