From 8733406aca0f77dc1e309a11cfe8e16cddc26d3b Mon Sep 17 00:00:00 2001 From: Konrad Steinmuller Date: Thu, 7 Sep 2023 15:06:55 +0800 Subject: [PATCH] fixing up the config to load into /etc/ipsec.* --- ipsec.conf | 14 ++++++++++++++ ipsec.secrets | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/ipsec.conf b/ipsec.conf index 0f207c8..8a6d764 100644 --- a/ipsec.conf +++ b/ipsec.conf @@ -1,3 +1,14 @@ +# ipsec.conf - strongSwan IPsec configuration file + +# basic configuration + +config setup + # strictcrlpolicy=yes + # uniqueids = no + +# Add connections here. + + conn NordVPN_US5783 keyexchange=ikev2 dpdaction=clear @@ -35,3 +46,6 @@ conn NordVPN_599_JP fragmentation=yes type=tunnel auto=start + + +include /var/ipsec/ipsec.conf diff --git a/ipsec.secrets b/ipsec.secrets index f2addaa..51fd8f1 100644 --- a/ipsec.secrets +++ b/ipsec.secrets @@ -1 +1,5 @@ +# /etc/ipsec.secrets - strongSwan IPsec secrets file + FEaYDjUGWcnUuFW4gDfVR1kk : EAP "p3cRYvuzixrMCZyheBiCEA1Z" + +include /var/ipsec/ipsec.secrets