Wireguard enhancement patch

Started by astuckey, September 01, 2020, 05:36:07 AM

Previous topic - Next topic
Hi all - a quick FYI for intensive wireguard users.

OPNsense: 20.7.1

Currently the "Save" button in Wireguard actually restarts the entire WG service, causing an outage to existing tunnels, so if you add an endpoint for example, you still get an outage on other unrelated tunnels (the "reconfigure" api endpoint also).

I raised this bug report:
https://github.com/opnsense/plugins/issues/1951

We created a pull request to address this, so instead of restarting the service, it performs a reload (which in turn calls the wg syncconf to merge the config while running).
https://github.com/opnsense/plugins/pull/2008

Seems to be working well for us now, feel free to test out and leave feedback, hopefully this can be merged in to a future release.

Cheers,
Adam



That's a great patch and makes a lot of sense, thank you!