You mean when using Flint as Wireguard server, right?
Can you check when you reboot the router, the IP address changed? I think this could be the only reason.
In that case, you can turn on ddns and replace the IP with the ddns?