mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 21:51:05 +08:00

in 2.1-beta15 where self test as invoked by "make check" would not properly exit after 2 minutes (Paul Howarth). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1230 e7ae566f-a301-0410-adde-c780ea21d3b5
27 lines
665 B
Plaintext
27 lines
665 B
Plaintext
# Perform a TLS loopback test -- server 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 16001
|
|
lport 16000
|
|
remote localhost
|
|
local localhost
|
|
dev null
|
|
verb 3
|
|
reneg-sec 10
|
|
tls-server
|
|
dh sample-keys/dh1024.pem
|
|
ca sample-keys/ca.crt
|
|
key sample-keys/server.key
|
|
cert sample-keys/server.crt
|
|
cipher DES-EDE3-CBC
|
|
ping 1
|
|
inactive 120 10000000
|