linguard
linguard copied to clipboard
add/remove peer without interface restart
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"
Will be included when #115 is merged