[Openswan Users] Dynamic IP change - Reestablish tunnel
Paul Wouters
paul at xelerance.com
Fri Jan 6 17:15:39 CET 2006
On Fri, 6 Jan 2006, Michael Thalmann wrote:
> When Home gets a new IP, after a few minutes the tunnel is reestablished
> automatically. But when the remote endpoint (Astaro) gets a new IP, Home
> tries the old IP forever. It seems that it resolves the dynamic DNS
> office.gotdns.org once at startup and then never checks that again. I have
> thought of using the leftupdown script to check for an IP change of the
> remote endpoint and then restart ipsec.
> Has anybody solved it that way or is there a more elegant solution?
You can look at freshmeat.net for scripts that check for an IP change and
then run a custom script, such as updating a DynDNS.org name, and extend it
tp ipsec auto --replace connname and/or ipsec auto --up connname.
Paul
More information about the Users
mailing list