Server has external dinamic IP it changes onece in 3 -20 days DDNS (noip.com) is working
Client has external static IP it never changes
I have noticed a problem:
When my server ISP changes IP i cant ping or connect to client unless i restart client WG interface. DDNS server updates IP correctly.
If i ping my server adress from client it responce with correct adress but still cant connect untill I restart client WG interface.
keep alive on server 37 seconds
kep alive on client 25 seconds
Just a guess… from your description, it seems like wireguard does dns resolution once and then sticks with that resolved ip until you restart the interface. If that is the case, you could setup a watchdog script that looks for a change in the ip (and/or a failure of the wg tunnel) and then bounces the interface.