WireGuard / wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
https://www.wireguard.com/
GNU General Public License v3.0
1.46k stars 69 forks source link

Provide Operational command to reload wireguard config #26

Open evil-dog opened 4 years ago

evil-dog commented 4 years ago

This is a feature request.

I have had times where the running config of wireguard (e.g. from sudo wg) differs from what was in the edgerouter config. I've needed to go in and run wg configuration commands myself to fix it. This happens especially when the dynamic ip addresses of the endpoints gets out of sync.

It would be nice if there was a command in the operational mode that would force a reload of the wireguard config for both all interfaces and a specific interface.

This could be under the update or reset top level commands.