summaryrefslogtreecommitdiff
path: root/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf')
-rwxr-xr-xtesting/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf
new file mode 100755
index 000000000..aa8d6167a
--- /dev/null
+++ b/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf
@@ -0,0 +1,25 @@
+connections {
+
+ rw {
+ local_addrs = 192.168.0.1
+
+ local {
+ auth = pubkey
+ certs = moonCert.pem
+ id = moon.strongswan.org
+ }
+ remote {
+ auth = pubkey
+ }
+ children {
+ net {
+ local_ts = 10.1.0.0/16
+
+ updown = /usr/local/libexec/ipsec/_updown iptables
+ esp_proposals = aes128gcm128-modp3072,3des-sha1-modp2048
+ }
+ }
+ version = 2
+ proposals = aes128-sha256-modp3072,3des-sha1-modp2048
+ }
+}