summaryrefslogtreecommitdiffstats
path: root/scripts/ci/radsecproxy.conf
blob: c6df5d1fbe6bfbbbf2c44f15febe531e038662a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# radsecproxy -f -c radsecproxy.conf

#  If there's no ListenUDP config, then radsecproxy will listen on *:1812 by default.  <sigh>
ListenUDP		*:1816

tls default {
    CACertificateFile    ../../raddb/certs/CA.pem

    # You must specify the below for TLS, we always present our certificate
    CertificateFile	../../raddb/certs/client.pem
    CertificateKeyFile	../../raddb/certs/client.key

    # Optionally specify password if key is encrypted (not very secure)
    CertificateKeyPassword	"whatever"
}

client 127.0.0.1 {
	type	udp
	secret	testing123
}

server 127.0.0.1 {
	type	tls
	port	2084
	secret	radsec

	CertificateNameCheck off
}


realm * {
	server 127.0.0.1
}