Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Add/remove/edit WireGuard peers without restarting wireguard
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add/remove/edit WireGuard peers without restarting wireguard (Read 1787 times)
arkanoid
Newbie
Posts: 35
Karma: 1
Add/remove/edit WireGuard peers without restarting wireguard
«
on:
November 06, 2023, 09:37:13 am »
Current WireGuard integration kills all existing connection states on WireGuard network(s) as soon as “apply” is clicked in web GUI, for example when adding or removing a peer from an existing network. This is quite disruptive.
WireGuard is capable of applying a new configuration on a running configuration via the syncconf command, see
https://man.freebsd.org/cgi/man.cgi?query=wg-quick&apropos=0&sektion=0&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html
https://serverfault.com/questions/1101002/wireguard-client-addition-without-restart
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Add/remove/edit WireGuard peers without restarting wireguard
«
Reply #1 on:
November 06, 2023, 09:39:24 am »
https://github.com/opnsense/plugins/pull/3358
it's being discussed
Cheers,
Franco
Logged
arkanoid
Newbie
Posts: 35
Karma: 1
Re: Add/remove/edit WireGuard peers without restarting wireguard
«
Reply #2 on:
November 06, 2023, 09:52:29 am »
Thanks! I'll follow GitHub thread, then.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Add/remove/edit WireGuard peers without restarting wireguard
«
Reply #3 on:
November 09, 2023, 04:09:08 pm »
It should be fixed in 23.7.8.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Add/remove/edit WireGuard peers without restarting wireguard