OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: shtech on November 09, 2023, 03:11:53 AM

Title: Changing wireguard settings doesn't actually update?
Post by: shtech on November 09, 2023, 03:11:53 AM
Setting up wireguard site to site. On site b, I made a mistake and set the wrong allowed address on the peer. Didn't catch it until i looked at the routes under System-> Routes. realized that wouldn't go anywhere.

So i went to the peer, changed the allowed ip addresses. Save apply. No change to the route. So I disabled and re-enabled wireguard. No change to the route, incorrect rout was still listed. I had to delete the peer, recreate, and not until deleted the route and then restarted did it add the correct route.

In re-creating the route, i accidentally set to the port to 5182 instead of 51820 on the peer. So I edited the port. Apply. No change, the other firewall showed traffic coming from site b with a destination port of 5182. Tried disabling the peer, reenabling. No change.

Another strange thing. Site B, hitting the Apply button on wireguard settings takes up to 2-3 minutes for it to stop. Site A doesn't do this. They are both the same device.

Am I missing a step to get wireguard on opnsense to update properly when you change a peer or instance and apply?