[strongSwan] Strongswan Connection Drop after 60 Minutes

Godse, Vikram, Vodafone Group (External) vikram.godse at vodafone.com
Mon Aug 17 14:06:06 CEST 2020


Hi,
I am testing a configuration of Strongswan with Azure VPN Gateway using a PSK.
The connection is established when the Strongswan service is started, but the connection drops approximately after 60 minutes. After that the Strongswan service needs to be restarted to establish the connection again.
I am new to Strongswan and any help would be highly appreciated. Why is the connection dropping and how can it  be established automatically Here is the swanctl.conf

connections {
        vpn {
                remote_addrs = 51.132.10.1
                local_addrs = 192.168.78.31
                version = 2
                proposals = aes256-sha1-prfsha1-modp1024,default
                local {
                        auth = psk
                        id = 195.27.10.1
                }
                remote {
                        auth = psk
                        id = 51.132.10.1
                }
                children {
                        site-1-ibm-1 {
                                local_ts = 192.168.78.0/24
                                remote_ts = 172.20.0.0/24
                                esp_proposals = aes192gcm16-aes128gcm16-prfsha256-ecp256-modp3072,aes192-sha256-ecp256-modp1024,default
                                start_action = start
                                dpd_action = restart
                        }
                }
        }
}
secrets {
  ike-vpn {
    id = 195.27.10.1
    id = 51.132.10.1
    secret = qNegSoiMnv1RA6z12345
  }
  ike-ibmvpn2 {
    id = ibmvpn2
    secret = qNegSoiMnv1RA6z12345
  }
}


Thanks


C2 General
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20200817/5e6142c0/attachment.html>


More information about the Users mailing list