Skip to content

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.

  1. Click Now set up.

    wireguard client azirevpn set up

  2. Enter your User Name and Password and then click Next.

    Configuraion

    It will take several minutes to get configs, please be patient.

Setup Mullvad

  1. Select as mullvad then click Now set up.

    wireguard client mullvad vpn set up

  2. Enter the Account Number, then click Next.

    wireguard client input mullvad vpn account number

    It will take a little longer, please be patient.

Setup WireGuard Client

There is a video tutorial, please check out here.

  1. Please click + Set up WireGuard Manually.

    setup wireguard manually

  2. There are two ways to input the configuration.

    paste wireguard config

  3. You can paste the configuration on Configuration tab, or create from scratch on Manual Input tab.

    add a new wireguard config

  4. Specify a descriptive name and then click Add.

    config name

  5. The configuration file has been successfully imported.

    connect wireguard

    Choose the server and click Connect.

    wireguard connected

    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

Official Website

  1. Access AzireVPN official website and login, then access the WireGuard Configuration generator

    azirevpn wireguard configuration generator

  2. At the IP option, please select IPv4. Then click Download Configuration.

    azirevpn wireguard configuration generator

  3. Then follow the guide to continue.

  4. You can also use mobile app to setup AzireVPN.

Mullvad

Mullvad

Official Website

  1. Access Mullvad Official Website and login, then access the WireGuard configuration file generator

  2. Then follow the guide to continue.

  3. You can also use mobile app to setup Mullvad.

AirVPN

AirVPN

Official Website

  1. If you are using AirVPN, sign in to their website, go to the Client Area, click the Config Generator

    airvpn configuration generator

  2. At the Config Generator page, select WireGuard at the Protocols sector.

    airvpn protocols

  3. Select a server, then scroll down to the end, click Generate button. It will download the configuration file.

    airvpn select server

  4. Then follow the guide to continue.

ANONINE

ANONINE

Official Website

Follow the guide below to generate WireGuard configs.

Windows, macOS, Ubuntu, Android, iOS

Then follow the guide to continue.

Astrill

Astrill

Official Website

If you are using Astrill, please log in then access this page to generate WireGuard configurations.

Then follow the guide to continue.

Hide.me VPN

Hide.me VPN

Official Website

Hide.me VPN providers a simple way to use their WireGuard service in GL.iNet router.

  1. SSH to router.

  2. 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

  3. 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.

  4. 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.

Refer link

IVPN

IVPN

Official Website

If you are using IVPN, you need to generate the WireGuard config manually. Follow the guide base on your OS.

Windows, macOS, Linux

Then follow the guide to continue.

NVPN

NVPN

Official Website

Follow the guide here to create the config.

Then follow the guide to continue.

OVPN

OVPN

Official Website

  1. Login www.ovpn.com, find the menu below to get WireGuard configuration files.

    ovpn dashboard

  2. Click Generate WireGuard keys, choose the server you wanted, then download the config.

    ovpn generate wireguard keys

  3. 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.

    remove wireguard ipv6 content

  4. Then follow the guide to continue.

  5. You can also use mobile app to setup OVPN.

PIA (Private Internet Access)

PIA (Private Internet Access)

Official Website

It can't downlaod the WireGuard configs from its website, please use mobile app to setup PIA VPN.

Proton VPN

Proton VPN

Official Website

If you are using Proton VPN, please follow the guide here to generate the WireGuard configuration file.

Then follow the guide to continue.

PrivateVPN

PrivateVPN

Official Website

  1. Login then access the Control panel

    PrivateVPN Control panel

  2. Select a server

    select a server

  3. Click GENERATE CONFIG, then copy the config.

    generate config

  4. Then follow the guide to continue.

PureVPN

PureVPN

Official Website

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.

SpiderVPN

SpiderVPN

Official Website

  1. Login www.spidervpn.org, find the section to get your VPN configuration. Follow the steps to get the configuration.

    get spider vpn configuration

  2. Download the vpn configuration

    download spider vpn configuration

  3. Then follow the guide to continue.

StarVPN

StarVPN

Official Website

  1. 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.

  2. 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.

    starvpn download wireguard config

  3. The config may contain IPv6 content, as GL.iNet routers is not support IPv6 good enough, so please delete the IPv6 content.

    startvpn wireguard configuration remove ipv6 content

  4. Then follow the guide to continue.

Refer link

StrongVPN

StrongVPN

Official Website

  1. If you are using StrongVPN, sign in at https://wg.strongvpn.com

  2. Select a location from the drop down menu, click GENERATE, open the downloaded text file.

    strongvpn wireguard configuration generator

  3. Then follow the guide to continue.

  4. You can also use mobile app to setup StrongVPN.

Surfshark

Surfshark

Official Website

  1. If you are using Surfshark, login then go to this page, click on Router, and select WireGuard.

    surfshark wireguard manual setup

  2. In the next window, select I don't have a key pair.

    surfshark wireguard manual setup

  3. Select Generate a new key pair.

    surfshark wireguard manual setup

  4. Once the key has been generatd, select Choose a location.

    surfshark wireguard manual setup

  5. Lastly, choose a location you would like to set up, and hit the download button next to the location.

    surfshark wireguard manual setup

Refer link

TRUST.ZONE

TRUST.ZONE

Official Website

  1. Access https://trust.zone/setup and login.

  2. 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.

  3. Then follow the guide to continue.

VPN.AC

VPN.AC

Official Website

  1. If you are using VPN.AC, you need to login the control panel and find WireGuard Manager from the "Services" menu.

    VPN.AC WireGuard Manager

  2. Create the config and download.

    VPN.AC create wireguard profiles

  3. Then follow the guide to continue.

VPN Unlimited(KeepSolid)

VPN Unlimited(KeepSolid)

Official Website

  1. If you are using VPN Unlimited, sign in to your User Office > select the VPN Unlimited® application > click Manage.

    vpn unlimited setup on gl.inet router

  2. 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.

    vpn unlimited setup on gl.inet router

  3. The configuration parameters will then appear below in the text format.

    vpn unlimited setup on gl.inet router

    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

  4. Then follow the guide to continue.

Refer link 1

Refer link 2

Windscribe

Windscribe

Official Website

Login then access the WireGuard Config Generator. Select location and port you'd like to use, then click Download Config.

windscribe WireGuard Config Generator

Then follow the guide to continue.

12VPX

12VPX

Official Website

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