Skip to content

WireGuard Settings for Firmware 3.0

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.

You can setup and use WireGuard easily in firmware 3.0, wireGuard server and clients are pre-installed in firmware 3.0.


WireGuard Server

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

1531199972139

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

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

3) 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 Client

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

Client

1) Specify the name of your server

Specify the name and then click Next.

Name

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

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:

SpiderVPN

Official Website

Login in 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

3) Connect to the WireGuard server

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

1531206410246

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