1# Perform a TLS loopback test -- server side.
2#
3# This test performs a TLS negotiation once every 10 seconds,
4# and will terminate after 2 minutes.
5#
6# From the root directory of the OpenVPN distribution,
7# after openvpn has been built, run:
8#
9#  ./openvpn --config sample-config-files/loopback-client  (In one window)
10#  ./openvpn --config sample-config-files/loopback-server  (Simultaneously in another window)
11
12rport 16101
13lport 16100
14remote localhost
15local localhost
16dev null
17verb 3
18reneg-sec 10
19tls-server
20dh sample-keys/dh2048.pem
21ca sample-keys/ca.crt
22key sample-keys/server.key
23cert sample-keys/server.crt
24tls-auth sample-keys/ta.key 0
25cipher AES-256-GCM
26ping 1
27inactive 120 10000000
28