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.