I know I've seen this topic somewhere, but couldn't find it in a search to post a "yeah, confirmed it" answer. So forgive me if I just missed it somewhere obvious.
Basically, site to site IPSec.
Site 1 has a static IP, never changes.
Site 2 has a dynamic IP, using dyndns.org to update it's DNS when it does change.
The two sites connect to each other using the Static IP, Dynamic IP just fine (using DNS name instead of IP at site 1 basically).
When Site 2 has an IP change, dyndns.org is updated properly, DNS name is updated for new IP, but Site 1 never seems to figure this out. The dead tunnel detection does show up in the logs, but when it tries to reconnect, it keeps trying to use the *old* IP instead of the one from the DNS entry. So it never connects.
But..... if I go t site 1 and just hit the save button again in the IPsec section, then it gets the correct IP, connects up the tunnel, everything is good. It's like having to restart the IPsec module fixes the issue, so I'm puzzled why since it already detects the tunnel is down, why does it try to reconnect with the old IP instead of pulling the new IP right from the DNS entry?
Both sites running m0n0wal 1.3 release generic-PC version.
|