summaryrefslogtreecommitdiff
path: root/tests/ciphersuites/vpn-connect-tls.sh
blob: 20489fafd861a73be97c916a02318ac7883e4488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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