Wireguard Configuration via WebUI - Nodegrid

Wireguard Configuration via WebUI - Nodegrid

Wireguard is a security-focused virtual private network known for its simplicity and ease of use.
Nodegrid supports wireguard configuration from both Shell and Gui.

Follow these steps to configure wireguard vpn tunnel via WebUI between two Nodegrid devices.

1) Login as admin in Nodegrid WebUI and go to Network::Wireguard tab.
2) Enter the required details
      Interface Name: wg2 
      Interface Type: Server ( as you are configuring server first )
      Status : Enabled
      Internal Address: internal IP address
      Listening Port: port number
3) Click Generate Keypair to create key pair ( public & private )
4) Enter details for optional configuration if it is required.
5) Click Save to save the configuration


6) Click the interface that has been created ( wg2 ) to go inside for peer configuration.
7) Click Add to add a new peer or client
8) Enter the desired peer name
9) Enter allowed IPs ( client/peer IPs )
10) Enter the public key of peer
11) Fill the keepalive value ( this value ( seconds ) will check the connections in regular interval )
12) Click Save to save the configuration



Configuration on Peer/Client side :
1) Login as admin in Nodegrid WebUI and go to Network::Wireguard tab.
2) Enter the required details
      Interface Name: wg2 
      Interface Type: Client
      Status : Enabled
      Internal Address: internal IP address
3) Click Generate Keypair to create key pair ( public & private )
4) Enter details for optional configuration if it is required.
5) Click Save to save the configuration


6) Click the interface that has been created ( wg2 ) to go inside for peer configuration.
7) Click Add to add a new peer 
8) Enter the desired peer name
9) Enter allowed IPs ( server/peer IPs )
10) Enter the public key of peer
11) Enter external address of the peer ( server in this case )
12) Enter the listening port number ( same as configured in server side ) and keep alive value same as server side
13) Click Save to save the configuration


The status of tunnel will be up now.
one can check the connection with client or server via shell.




    • Related Articles

    • Wireguard Configuration in Nodegrid 5.2 and newer

      Overview Wireguard is a current tunnel solution which is part of current Linux distributions. The Solutions are making its way into the some business applications and is for example currently supported by 128 Technologie and Perimeter81. Advantages: ...
    • Wireguard Configuration

      Wireguard Configuration Last Tested in Nodegrid Version 4.1.9 Overview Wireguard is a current tunnel solution which is part of current Linux distributions. The Solutions are making its way into the some business applications and is for example ...
    • System Configuration Checksum

      Nodegrid system configuration checksum is a feature which creats a checksum for all the configuration files inside Nodegrid. This provides administrators a quick tool to verify periodically if the configuration has changed, and can be used for ...
    • Network Configuration via CLI

      Example of configuring the ETH0 interface via CLI (please, replace the network values with your own information). Log in as admin to the Nodegrid console port or HDMI Type the following commands (in bold): [admin@nodegrid /]# cd ...
    • How to Configure Nodegrid Serial Ports

      To configure the serial ports of your Nodegrid Serial Console, follow the guideline steps below.   WebUI Log in as admin to the Nodegrid Serial Console Web interface. Go to Managed Devices page. Select the serial ports you want to configure, or check ...