On Thu, Jan 9, 2020 at 9:09 AM List <l...@md5collisions.eu> wrote: > > Hi, > I am using Iked to tunnel to my home router from an openbsd machine. > Everything works fine that far. Problems occur when my router reboots at > night and gets a new IP assigned. (DSL) > Afer receiving the new IP the tunnel is not rebuilt. Because the active > part doesn't recognize that the IP has changed. > How do you guys handle that ? Is there a builtin mechanism? > I've got the impression that once iked startup it reads the hostname of the > destination server > (FQDN && DynDNS) and saves that permanently and doesn't recheck untils > it is manually killed and restarted. > > And is second part of the problem. Is there a way to do > Dead-peer-detection as part of ikeds builtin mechanism? > > How do you guys handle all of that ? > > Enlighten me ! > > > I'd greatly appreciate any help ! > > Best regards, > Stephan >
Maybe try using ifstated(8) to ping a host on your home network and restart iked to re-establish the tunnel when the tunnel falls over. -- Aaron Mason - Programmer, open source addict I've taken my software vows - for beta or for worse