Skip to content

How to Set Up WireGuard 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, OVPN, 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.

wireguard client no initialized

Set Up AzireVPN

AzireVPN is privacy-minded VPN service providing secure, modern and robust tunnels such as WireGuard.

azirevpn

  1. Input Username and Password, then click Save Credentials & Get Servers. It will generate configuration files for each servers.

    azirevpn profiles

  2. Go to VPN Dashboard to enable the connection.

    vpn dashboard azirevpn

    Once connected, you should see your user IP address and the number of Bytes send/received.

    vpn dashboard azirevpn connected

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

    azirevpn update servers

  4. Edit credential

    Click the cog icon to edit the credential.

    azirevpn edit 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.

mullvad vpn

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

    mullvad vpn

    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.

    mullvad vpn

  2. Go to VPN Dashboard to enable the connection.

    mullvad vpn

    Once connected, you should see your user IP address and the number of Bytes send/received.

    vpn dashboard mullvad connected

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

    mullvad vpn

  4. Edit credential

    mullvad vpn

  5. Delete account information

    If you click Delete, it will delete the account credential, private key, public key and configuration files in the router.

    mullvad vpn

  6. Delete

    Allow deleting all configuration files with one click and provide a prompt to also delete private key and public key.

    mullvad vpn

Setup WireGuard Client

As of firmware 4.0, it brings grouping to manage WireGuard profiles.

  1. Click Add Manually.

    add manually

  2. It will create a group.

    add a new group

  3. Give the group a descriptive name, e.g. azirevpn. Then you can choose to upload configuration files or manually add configuration.

    set the new group name

    1. Upload configuration files

      Upload your WireGuard configuration file, click Apply.

      upload profile

      after upload profile

    2. Manually Add Configuration, it is for if you want to paste the WireGuard configuration or fill in each item.

      add wireguard by text

      Give a descriptive name and paste the configuration, click Apply to continue.

      add wireguard by text

      Or you can add configuration by fill in each item, click Item Mode.

      add wireguard by item mode

      add wireguard by item mode

  4. Click the three dots icon to start / edit /delete the profile.

    start the profile

  5. Check the connection status by go to VPN Dashboard page.

    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

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 WireGaurd configuration file generator

  2. Then follow the guide to continue.

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

ANONINE

ANONINE

Official Website

Fellow the guide below to generate WireGuard configs.

Windows, macOS, Ubuntu, Android, iOS

Then follow the guide to continue.

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.

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_v4/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 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.

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

Fellow 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 WireGaurd configs from its website, please use mobile app to setup PIA VPN.

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.

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.

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

    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.


WireGuard® is a registered trademark of Jason A.Donenfeld.


Still have questions? Visit our Community Forum.