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

Reply via email to