summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2022-06-14 23:10:58 +0200
committerkali kaneko (leap communications) <kali@leap.se>2022-06-14 23:10:58 +0200
commite5fd319fe7677eb8d289316417454664aeabdd1c (patch)
tree1203519c36c2382729a2735a9fbd4382af171c5a
parentdb6622ddf4349a2bbb495dbb84e154d27fd03c7d (diff)
add tls tests
-rwxr-xr-xtests/ciphersuites/vpn-connect-tls.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ciphersuites/vpn-connect-tls.sh b/tests/ciphersuites/vpn-connect-tls.sh
new file mode 100755
index 0000000..20489fa
--- /dev/null
+++ b/tests/ciphersuites/vpn-connect-tls.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -x
+sudo openvpn \
+ --verb 3 \
+ --dev tun --client --tls-client \
+ --cipher $CIPHER \
+ --remote-cert-tls server --tls-version-min 1.2 \
+ --ca /tmp/ca.crt --cert /tmp/cert.pem --key /tmp/cert.pem \
+ --pull-filter ignore ifconfig-ipv6 \
+ --pull-filter ignore route-ipv6 \
+ --pull-filter ignore route \
+ --tls-cipher $TLS \
+ --remote $GW $PORT $PROTO