[strongSwan] IPSec on mobile connection with dynamic ip.

Anton warm at stack.ru
Wed Jul 21 12:13:39 CEST 2010


Hi.

I have a problem with reconnecting ipsec on my adsl and other connections width dynamic ip. I use (and
reconnect works with static ips) this options:

keyexchange=ikev2
dpdaction=clear
dpddelay=30
dpdtimeout=15

So when my adsl is reconnecting I get another ip from NAS but strongswan keeps trying to use old (previous)
ip-address when dpd detects disconnect.

How to make it to use new existing ip-address ?

ipsec restart solves the problem but it is not good solution ...


-- 
Anton [WARM-RIPE]
Stack ltd division head
tel. 8 (3822) 555-797



More information about the Users mailing list