Setup WireGuard 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.
GL.iNet routers have pre-installed WireGuard Client and Server.
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 setup WireGuard Client via web Admin Panel and mobile app. For the mobile app, it has already integrated some WireGuard Service Providers, they are AzireVPN, Mullvad VPN, OVPN, StrongVPN, PIA VPN, SpiderVPN.
For setup via web Admin Panel, please follow the guide below.
Setup AzireVPN¶
AzireVPN is privacy-minded VPN service providing secure, modern and robust tunnels such as WireGuard.
Firmware 3.x has integrated AzireVPN WireGuard service.
-
Click Now set up.
-
Enter your User Name and Password and then click Next.
It will take several minutes to get configs, please be patient.
Setup Mullvad¶
-
Select as mullvad then click Now set up.
-
Enter the Account Number, then click Next.
It will take a little longer, please be patient.
Setup WireGuard Client¶
There is a video tutorial, please check out here.
-
Please click + Set up WireGuard Manually.
-
There are two ways to input the configuration.
-
You can paste the configuration on Configuration tab, or create from scratch on Manual Input tab.
-
Specify a descriptive name and then click Add.
-
The configuration file has been successfully imported.
Choose the server and click Connect.
If connected, it will show the traffic info of upload and download.
Note: It can't running VPN Client and Server at the same time, and also can't running OpenVPN Client and WireGuard Client at the same time.
Setup 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 WireGuard server, please check out here.
Get configuration files from WireGuard service providers¶
AzireVPN
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
Mullvad¶
-
Access Mullvad Official Website and login, then access the WireGuard configuration file generator
-
Then follow the guide to continue.
-
You can also use mobile app to setup Mullvad.
PIA (Private Internet Access)
PIA (Private Internet Access)¶
It can't downlaod the WireGuard configs from its website, please use mobile app to setup PIA VPN.
Hide.me VPN
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_v3/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 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.
Proton VPN
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.
Windscribe
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.
Surfshark
Surfshark¶
-
If you are using Surfshark, login then go to this page, click on Router, and select WireGuard.
-
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.
StrongVPN
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.
OVPN
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.
PureVPN
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.
PrivateVPN
PrivateVPN¶
-
Login then access the Control panel
-
Select a server
-
Click GENERATE CONFIG, then copy the config.
-
Then follow the guide to continue.
AirVPN
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.
Astrill
Astrill¶
If you are using Astrill, please log in then access this page to generate WireGuard configurations.
Then follow the guide to continue.
IVPN
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.
SpiderVPN
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.
StarVPN
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.
TRUST.ZONE
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.
VPN.AC
VPN.AC¶
VPN Unlimited(KeepSolid)
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
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.
Suggest a WireGuard provider? Please contact support@glinet.biz
Video Tutorial¶
How to Set Up an WireGuard Client on GL.iNet Routers