How to Set Up WireGaurd Client on GL.iNet Router¶
WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN.
If you have already bought WireGuard service from a provider, but you don't know how to get the configuration files, please refer to get configuration files from WireGuard service providers or ask its support.
You can set up WireGuard Client via web Admin Panel or mobile app. For the mobile app, it has already integrated some WireGuard Service Providers, they are AzireVPN, Mullvad VPN, TorGuard VPN, OVPN, WeVPN, StrongVPN, PIA VPN.
For set up via web Admin Panel, please follow the guide below.
You can log in by clicking the AzireVPN or Mullvad button if you have a their membership, or by clicking Add Manually to upload the WireGuard profiles.
Set Up AzireVPN¶
AzireVPN is privacy-minded VPN service providing secure, modern and robust tunnels such as WireGuard.
-
Input Username and Password, then click Save Credentials & Get Servers. It will generate configuration files for each servers.
-
Go to VPN Dashboard to enable the connection.
Once connected, you should see your user IP address and the number of Bytes send/received.
-
Update servers
AzireVPN may maintain or shutdown some servers, it will make the connection failed, you can Update Servers to get the latest available servers.
-
Edit credential
Click the cog icon to edit the credential.
Set Up Mullvad¶
Mullvad is a VPN service that helps keep your online activity, identity, and location private.
Firmware 4.x has integrated Mullvad WireGaurd service.
-
Input Account, then click Save Credentials & Get Servers.
Mullvad account number is a 16-digit decimal in the "1000 0000 0000 0000" to "9999 9999 9999 9999" range.
It will pop up a dialog to select a location.
Then it will generate the configuration files of the selected location server.
The Public Key is the WireGuard public key to send to Mullvad server, you can have up to five keys at the same time, you can manage WireGuard keys on Mullvad's page.
-
Go to VPN Dashboard to enable the connection.
Once connected, you should see your user IP address and the number of Bytes send/received.
-
Update servers
Mullvad may maintain or shutdown some servers, it will make the connection failed, you can Update Servers to get the latest available servers.
-
Edit credential
Set Up WireGuard Client¶
As of firmware 4.0, it brings grouping to manage WireGuard profiles.
-
Click Add Manually.
-
It will create a group.
-
Give the group a descriptive name, e.g. azirevpn. Then you can choose to upload configuration files or manually add configuration.
-
Upload configuration files
Upload your WireGuard configuration file, click Apply.
-
Manually Add Configuration, it is for if you want to paste the WireGuard configuration or fill in each item.
Give a descriptive name and paste the configuration, click Apply to continue.
Or you can add configuration by fill in each item, click Item Mode.
-
-
Click the three dots icon to start / edit /delete the profile.
-
Check the connection status by go to VPN Dashboard page.
Set Up WireGuard Server on GL.iNet Router¶
You can get a GL.iNet router to set as WireGuard server, and get another GL.iNet router to set as WireGuard client. For setup WireGaurd server, please check out here.
Get Configuration Files from WireGuard Service Providers¶
AzireVPN
-
Access AzireVPN official website and login, then access the WireGuard Configuration generator
-
At the IP option, please select IPv4. Then click Download Configuration.
-
Then follow the guide to continue.
-
You can also use mobile app to setup AzireVPN.
Mullvad
-
Access Mullvad Official Website and login, then access the WireGaurd configuration file generator
-
Then follow the guide to continue.
-
You can also use mobile app to setup Mullvad.
OVPN
-
Login www.ovpn.com, find the menu below to get WireGuard configuration files.
-
Click Generate WireGuard keys, choose the server you wanted, then download the config.
-
Open the config by text edit software, copy the content.
The config may contain IPv6 content, as GL.iNet routers is not support IPv6 good enough, so please delete the IPv6 content. I have a example show below, the highlight content is the IPv6 content.
-
Then follow the guide to continue.
-
You can also use mobile app to setup OVPN.
TorGuard
-
If you are using TorGuard, you need to login the control panel and find Config Generator from the Tools menu.
-
On the Config Generator page, choose VPN Tunnel type to WireGuard, select VPN Server, input VPN Username and VPN Password, click Generate Config button, wait a second, you will find the config on Config Output section.
You can find the VPN Username and VPN Password below
-
Then follow the guide to continue.
-
You can also use mobile app to setup TorGuard.
Surfshark
-
If you are using Surfshark, login then go to this page, click on Router, and select WireGaurd.
-
In the next window, select I don't have a key pair.
-
Select Generate a new key pair.
-
Once the key has been generatd, select Choose a location.
-
Lastly, choose a location you would like to set up, and hit the download button next to the location.
VPN.AC
StrongVPN
-
If you are using StrongVPN, sign in at https://wg.strongvpn.com
-
Select a location from the drop down menu, click GENERATE, open the downloaded text file.
-
Then follow the guide to continue.
-
You can also use mobile app to setup StrongVPN.
WeVPN
-
Access the Members Area to make a custom config using the Config Generator.
-
When you select the WireGuard protocol, you will need to select Add device for the region selected.
-
Then follow the guide to continue.
-
You can also use mobile app to setup WeVPN.
Windscribe
Login then access the WireGuard Config Generator. Select location and port you'd like to use, then click Download Config.
Then follow the guide to continue.
PrivateVPN
-
Login then access the Control panel
-
Select a server
-
Click GENERATE CONFIG, then copy the config.
-
Then follow the guide to continue.
PIA (Private Internet Access)
It can't downlaod the WireGaurd configs from its website, please use mobile app to setup PIA VPN.
AirVPN
-
If you are using AirVPN, sign in to their website, go to the Client Area, click the Config Generator
-
At the Config Generator page, select WireGuard at the Protocols sector.
-
Select a server, then scroll down to the end, click Generate button. It will download the configuration file.
-
Then follow the guide to continue.
Proton VPN
If you are using Proton VPN, please follow the guide here to generate the WireGuard configuration file.
Then follow the guide to continue.
Astrill
If you are using Astrill, please log in then access this page to generate WireGuard configurations.
Then follow the guide to continue.
VPN Unlimited(KeepSolid)
-
If you are using VPN Unlimited, sign in to your User Office > select the VPN Unlimited® application > click Manage.
-
Press the field under Device and click Manually create a new device… > set it's custom name, for example WireGuard > choose appropriate location of the Server > select the WireGuard® protocol from the dropdown menu > click Generate.
-
The configuration parameters will then appear below in the text format.
Combine the configuration as below.
[Interface] PrivateKey = paste the PrivateKey from your User Office ListenPort = paste the ListenPort details Address = paste Address information DNS = paste DNS details from the User Office [Peer] PublicKey = paste PublicKey from the User Office PresharedKey = paste PresharedKey details AllowedIPs = paste AllowedIPs details Endpoint = paste Endpoint information
-
Then follow the guide to continue.
12VPX
If you are using 12VPX, login then access this page, you will see the configs of all servers.
Then follow the guide to continue.
IVPN
If you are using IVPN, you need to generate the WireGuard config manually. Follow the guide base on your OS.
Then follow the guide to continue.
TRUST.ZONE
-
Access https://trust.zone/setup and login.
-
Scroll down to the WireGuard section, choose the port you want, then download a config of specific server or a zip file of all configs.
-
Then follow the guide to continue.
ANONINE
Fellow the guide below to generate WireGuard configs.
Windows, macOS, Ubuntu, Android, iOS
Then follow the guide to continue.
StarVPN
-
Register an account with StarVPN
Head on over to their pricing plan options and choose a VPN plan that suits your needs. You can register on checkout or directly here.
-
Download Wireguard Configuration
Log into the StarVPN member area dashboard. Click on Wireguard Config to download the configuration file. Each slot will contain a unique wireguard configuration file.
-
The config may contain IPv6 content, as GL.iNet routers is not support IPv6 good enough, so please delete the IPv6 content.
-
Then follow the guide to continue.
PureVPN
Please follow the guide here to get the WireGuard configuration file.
Note: Please make sure to copy the file and activate the connection within 30 minutes once the profile is downloaded, otherwise the configuration will expire and you will have to redownload a fresh configuration file.
Hide.me VPN
Hide.me VPN providers a simple way to use their WireGuard service in GL.iNet router.
-
SSH to router.
-
Copy the install url below, then paste it to the terminal, hit the Enter key. (Right click the mouse will paste it.)
curl -fsSL https://raw.githubusercontent.com/eventure/hide.client.routers/master/glinet_v4/hidemevpn | sh -s install
-
It will start installing, then ask for the username and password. When typing or pasting the password, no change is visible on the terminal, just hit the Enter key after typing.
-
Once you're done, go to the web Admin Panel and you'll see that a hide.me VPN group has been created with configuration files already in it. Just connect as you would any other configuration file.
Note: The key in the Hide.me VPN configuration file is regenerated before each connection and becomes invalid after disconnection, so copying this configuration file to other devices will not connect successfully.
SpiderVPN
-
Login www.spidervpn.org, find the section to get your VPN configuration. Follow the steps to get the configuration.
-
Download the vpn configuration
-
Then follow the guide to continue.
WireGuard® is a registered trademark of Jason A.Donenfeld.
Still have questions? Visit our Community Forum.