Skip to content

WireGuard

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 server and client.

If you are looking for a WireGuard provider, access this directly.


WireGuard Client

To set up a WireGuard client, please click + Add New Profiles.

Client

Specify the name of your server

Specify the name and then click Next.

Name

Input the configurations

There are different methods to input the configurations.

Configuraion

You can copy the JSON or Plain Text configurations from your server to Configuration or input the settings manually.

Configuraion

After copy the JSON or Plain Text from your server, you can paste it in the Configuration and then click Add to finish the WireGuard Client setup.

Configuraion

WireGuard Providers

If you are using AzireVPN or Mullvad, you can click Others and use your AzireVPN or Mullvad account to set up WireGuard client directly.

AzireVPN

Select AzireVPN as the provider, enter your User Name and Password and then click "Add" finish the WireGuard Client setup.

Configuraion

Mullvad Select Mullvad as the provider, enter your Account Number and then click "Add" to finish the WireGuard Client setup.

Configuraion

Waiting for the adding.

Configuraion

Other recommended WireGuard provider:

OVPN

Office Website

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 and paste the content to router wireguard client.

paste wireguard config

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

SpiderVPN

Official Website

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

1.

get spider vpn configuration

2. download the vpn configuration

download spider vpn configuration

3. Access the web Admin Panel of your GL.iNet router, click New Profile at WireGuard Client.

download spider vpn configuration

4. open the configuration you just download from SpiderVPN website, then paste to the new Profile dialog, you need to adjust the format, make sure there is a space on each side of the equals sign.

download spider vpn configuration

TorGuard

Official Website

  1. If you are using TorGuard, you need to login the control panel and find Enable WireGuard Access from the "Tools" menu.

    torguard enable wireguard access

  2. Downlod the config.

    torguard enable wireguard access

  3. Copy & paste the config content to router wireguard client.

    Open the config by text edit software, copy and paste the content to router wireguard client.

    torguard enable wireguard access

    Refer link

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. Copy & paste the config content to router wireguard client.

    Extract files, open the config by text edit software, copy and paste the content to router wireguard client.

    VPN.AC enable wireguard access

StrongVPN

Official Website

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, and then copy the contents of the file.

strongvpn wireguard configuration generator

Login web Admin Panel, VPN --> WireGuard Client --> Add New Profiles

gl.inet router new wireguard profile

Specify the name of your server and click next.

gl.inet router new wireguard profile

Paste the configuration text to the Configuration windows. Click Add

gl.inet router new wireguard profile

Connect to the WireGuard server by clicking Connect

gl.inet router new wireguard profile

You will see the upload and download traffic when it is connected successfully.

gl.inet router new wireguard profile

Refer link

VPN Unlimited(KeepSolid)

Official Website

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

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

The configuration parameters will then appear below in the text format. You’ll need them for further configuration of your GL.iNet router.

vpn unlimited setup on gl.inet router

Login to the web Admin Panel, default is http://192.168.8.1, click VPN > WireGuard® Client.

vpn unlimited setup on gl.inet router

Click Add New Profiles.

vpn unlimited setup on gl.inet router

Specify custom Name of server and click Next.

vpn unlimited setup on gl.inet router

The Add a New WireGuard® Client window will appear. In the Configuration tab, paste the details of the manual configuration settings you’ve generated before:

[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

vpn unlimited setup on gl.inet router

Once completed, click Add.

Click Connect on the WireGuard® Client tab.

vpn unlimited setup on gl.inet router

Refer link

12VPX

Official Website

  1. If you are using 12VPX, login then access this page, you will see the configs of all servers.

  2. Copy & paste the config content to router wireguard client.

    IVPN enable wireguard access

IVPN

Official Website

  1. If you are using IVPN, you need to Log in to the Client Area on the IVPN website. IVPN Client Area, then follow the WireGuard Setup Guides

    Skip the step 1, because WireGuard is pre-installed on GL.iNet routers.

    IVPN linux steup guide

  2. After generate the config.

    after generate the config

    Copy & paste the config content to router wireguard client.

    IVPN enable wireguard access


  3. Refer link

ANONINE

Official Website

  1. Fellow the guide here to create the config.

  2. Copy & paste the config content to router wireguard client.

    IVPN enable wireguard access


NVPN

Official Website

  1. Fellow the guide here to create the config.

  2. Copy & paste the config content to router wireguard client.

    NVPN enable wireguard access


Suggest a WireGuard provider? Please contact support@gl-inet.com

Connect to the WireGuard server

Click Connect. You will see the upload and download traffic when it is connected successfully.

1531206410246


WireGuard Server

You can set up a WireGuard server on GL.iNet router. Click + Create a New User.

1531199972139

Start a WireGuard server

You can simply use the default parameters of Local IP and Local Port, or you can set your own value. Then click Start to start your own WireGuard server.

Sever Configuration

Add a new client

You have to add a new user and apply the configurations when you are connecting to this WireGuard server.

Click Management tab and then Create a New User.

Add Client

Specify the Name of the new client and then click Add.

Name

Get the configuration details for your client

You can now check the list of the clients you added. You can Delete any unwanted client. Please click Configurations to find the configuration details which you need to use when you are setting up WireGuard client. We provide QRcode, Plain Text and JSON configurations currently.

Configurations

If you are using another GL.iNet router as a client, please copy the JSON configuration and paste it directly when you are setting up WireGuard client.

Configurations

Wireguard App Support

You can also use WireGuard App on other devices with various OS

Visit Client’s LAN Subnet

Visit Client’s LAN Subnet from WireGuard Server LAN Subnet

1) Change WireGuard clients LAN IP to avoid IP confliction with Server

2) Modify Wireguard_Server Configuration

WinSCP or SSH into your the WireGuard Server (router) find and modify the file

/etc/config/wireguard_server

Add a line to the end of the config file of clients you want to visit.

list subnet '192.168.xxx.0/24'

Save and Exit