Static WAN IP Change effects Wireguard
-
Strange thing.
I have a site-2-site VPN setup with Wireguard.
I had changed Site B static WAN IP address.
The Wireguard is setup using FQDN and I had changed the FQDN to match the new WAN IP address.
I figured that would be it.
The handshake in Wireguard went red. I had restarted the service. (This is on site B still).
Still nothing.
I had pinged the FQDN from Site A to see if it was seeing the new IP. It did.
Still no handshake.
Restarted the service on Site A. Still nothing
Then restarted Site A pfSense. Again still nothing.
I had then restarted the pfSense on Site B.
Everything started working.I'm guessing maybe a stuck route or the system as a whole did not fully release the old IP from when it was changed.
The internet did work just fine and had seen the new IP prier to rebooting Site B. Just with Wireguard was it not happy.
If anyone else comes across this issue. Reboot the router.