blob: 47f4064c7387d3d8b571dc3c706690c79d344c69 (
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
|
# $OpenBSD: radiusd.conf,v 1.2 2019/04/01 09:40:16 yasuoka Exp $
listen on 0.0.0.0
#listen on ::
client 127.0.0.1/32 {
secret "secret"
}
client 192.168.0.0/24 {
secret "secret"
msgauth-required yes
}
module load "bsdauth" "/usr/libexec/radiusd/radiusd_bsdauth"
module set "bsdauth" "restrict-group" "operator"
module load "radius" "/usr/libexec/radiusd/radiusd_radius"
module set "radius" "secret" "testing123"
module set "radius" "server" "127.0.0.1"
authenticate *@local {
authenticate-by "bsdauth"
}
authenticate *@example.com {
authenticate-by "radius"
}
|