From e5fd319fe7677eb8d289316417454664aeabdd1c Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 14 Jun 2022 23:10:58 +0200 Subject: add tls tests --- tests/ciphersuites/vpn-connect-tls.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tests/ciphersuites/vpn-connect-tls.sh 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 -- cgit v1.2.3