summaryrefslogtreecommitdiffstats
path: root/extras/strongswan/configs/responder_nat/ipsec.conf
diff options
context:
space:
mode:
Diffstat (limited to 'extras/strongswan/configs/responder_nat/ipsec.conf')
-rw-r--r--extras/strongswan/configs/responder_nat/ipsec.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/extras/strongswan/configs/responder_nat/ipsec.conf b/extras/strongswan/configs/responder_nat/ipsec.conf
new file mode 100644
index 00000000000..00ebd21e3b3
--- /dev/null
+++ b/extras/strongswan/configs/responder_nat/ipsec.conf
@@ -0,0 +1,22 @@
+config setup
+ strictcrlpolicy=no
+
+conn initiator
+ mobike=no
+ auto=add
+ type=tunnel
+ keyexchange=ikev2
+ ike=aes256gcm16-prfsha256-modp2048!
+ esp=aes256gcm16-esn!
+
+# local:
+ leftauth=psk
+ leftid=@roadwarrior.vpn.example.com
+ leftsubnet=192.168.5.0/24
+
+# remote: (gateway)
+ rightid=@vpp.home
+ right=192.168.10.2
+ rightauth=psk
+ rightsubnet=192.168.3.0/24
+