Skip to content

add/remove peer without interface restart #112

@konrad4444

Description

@konrad4444

Is your feature request related to a problem? Please describe.
When adding or removing peer the wireguard interface gets restarted causing everyone on vpn to got frozen connections for couple of seconds, which sometimes result in ssh sessions terminated. That is unnecessary, thare are commands to add new peer and to remove peer without reloading the whole configuration.

Describe the solution you'd like
Commands to add new peer and to remove peer without reloading the whole configuration:
wg set "wg-interface" peer "peer-public-key" remove
wg set "wg-interface" peer "peer-public-key" allowed-ips "ip_address"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request not initially planned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions