Project

General

Profile

Actions

Feature #11588

open

Automatically suggest next IP address in Wireguard interface subnet when creating a peer

Added by Jim Pingle almost 4 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
WireGuard
Target version:
Start date:
03/01/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default

Description

When creating a new WireGuard peer, we should suggest/pre-fill the AllowedIPs field with the next IP address in the WireGuard interface subnet. This will make the management of peer addresses semi-automatic.

For example:

On Peer A:
  • Create WireGuard interface with address 10.0.11.1/24
  • Add a peer, suggest the next available address, 10.0.11.2/32
  • Add a peer, suggest the next available address, 10.0.11.3/32
On Peer B:
  • Create WireGuard interface with address 10.0.11.2/24
  • When adding a peer, suggest the next available address, which happens to be 10.0.11.1/32
On Peer C:
  • Create WireGuard interface with address 10.0.11.3/24
  • When adding a peer, suggest the next available address, which happens to be 10.0.11.1/32

[...]

Actions

Also available in: Atom PDF