Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add/remove peer without interface restart #112

Open
konrad4444 opened this issue Feb 21, 2022 · 1 comment
Open

add/remove peer without interface restart #112

konrad4444 opened this issue Feb 21, 2022 · 1 comment
Labels
enhancement New feature or request not initially planned

Comments

@konrad4444
Copy link

konrad4444 commented Feb 21, 2022

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"

@konrad4444 konrad4444 added the enhancement New feature or request not initially planned label Feb 21, 2022
@joseantmazonsb
Copy link
Owner

Will be included when #115 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not initially planned
Projects
None yet
Development

No branches or pull requests

2 participants