mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 03:52:28 +02:00
ac10391f48
Since these are examples, people might use them as a basis for their own configs. In the non-push/pull configs, we should specify a decent cipher. Further, I don't think we should recommend anyone to still use a static key configuration, so remove the static key config examples. Signed-off-by: Steffan Karger <steffan@karger.me> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20191109174235.20511-1-steffan@karger.me> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19081.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
28 lines
694 B
Plaintext
28 lines
694 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
|
|
cipher AES-256-GCM
|
|
ping 1
|
|
inactive 120 10000000
|