2005-09-26 01:28:27 -04:00
|
|
|
# Perform a TLS loopback test -- client side.
|
|
|
|
|
#
|
|
|
|
|
# This test performs a TLS negotiation once every 10 seconds,
|
|
|
|
|
# and will terminate after 2 minutes.
|
|
|
|
|
#
|
|
|
|
|
# From the root directory of the OpenVPN distribution,
|
|
|
|
|
# after openvpn has been built, run:
|
|
|
|
|
#
|
|
|
|
|
# ./openvpn --config sample-config-files/loopback-client (In one window)
|
|
|
|
|
# ./openvpn --config sample-config-files/loopback-server (Simultaneously in another window)
|
|
|
|
|
|
|
|
|
|
rport 16000
|
|
|
|
|
lport 16001
|
|
|
|
|
remote localhost
|
|
|
|
|
local localhost
|
|
|
|
|
dev null
|
|
|
|
|
verb 3
|
|
|
|
|
reneg-sec 10
|
|
|
|
|
tls-client
|
2014-10-22 18:14:29 -04:00
|
|
|
remote-cert-tls server
|
2005-10-01 07:10:12 -04:00
|
|
|
ca sample-keys/ca.crt
|
2005-09-26 01:28:27 -04:00
|
|
|
key sample-keys/client.key
|
|
|
|
|
cert sample-keys/client.crt
|
2015-02-22 09:11:08 -05:00
|
|
|
tls-auth sample-keys/ta.key 1
|
2005-09-26 01:28:27 -04:00
|
|
|
ping 1
|
2006-09-13 22:42:12 -04:00
|
|
|
inactive 120 10000000
|