From f4d044b6680b73a19f58bae520b17336d2f70cc5 Mon Sep 17 00:00:00 2001 From: Stanislav Paskalev Date: Mon, 21 Oct 2019 10:28:12 +0300 Subject: [PATCH] Add a dpd_action field, set its default to restart --- backend/ipsec/handle_charon.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/ipsec/handle_charon.go b/backend/ipsec/handle_charon.go index 8b31c6b42..3d38b2d17 100644 --- a/backend/ipsec/handle_charon.go +++ b/backend/ipsec/handle_charon.go @@ -161,6 +161,7 @@ func (charon *CharonIKEDaemon) LoadConnection(localLease, remoteLease *subnet.Le ESPProposals: []string{charon.espProposal}, StartAction: "start", CloseAction: "trap", + DpdAction: "restart", Mode: "tunnel", ReqID: reqID, // RekeyTime: rekeyTime,