roles/protonvpn: Set infinite keying retries
By default, strongSwan will only attempt key negotiation once and then give up. If the VPN connection is closed because of a network issue, it is unlikely that a single attempt to reconnect will work, so let's keep trying until it succeeds.
This commit is contained in:
@@ -11,6 +11,7 @@ connections {
|
|||||||
auth = pubkey
|
auth = pubkey
|
||||||
}
|
}
|
||||||
children {
|
children {
|
||||||
|
keyingtries = 0
|
||||||
dpd_delay = 30s
|
dpd_delay = 30s
|
||||||
protonvpn {
|
protonvpn {
|
||||||
remote_ts = {{ protonvpn_tunnel }}
|
remote_ts = {{ protonvpn_tunnel }}
|
||||||
|
|||||||
Reference in New Issue
Block a user