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

For two reasons: 1) May motivate people to use tls-auth in their setups 2) Verify tls-auth functionality when running 'make check' Signed-off-by: Steffan Karger <steffan.karger@fox-it.com> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1424614268-5078-1-git-send-email-steffan.karger@fox-it.com> URL: http://article.gmane.org/gmane.network.openvpn.devel/9467 Signed-off-by: Gert Doering <gert@greenie.muc.de>
27 lines
675 B
Plaintext
27 lines
675 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/dh2048.pem
|
|
ca sample-keys/ca.crt
|
|
key sample-keys/server.key
|
|
cert sample-keys/server.crt
|
|
tls-auth sample-keys/ta.key 0
|
|
ping 1
|
|
inactive 120 10000000
|