blob: 00c92eb8336f7c711c25168405f8caabb0fece9e (
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
|
# $OpenBSD: radiusd.conf,v 1.5 2023/09/24 06:09:35 yasuoka Exp $
listen on 0.0.0.0
#listen on ::
client 127.0.0.1/32 {
secret "secret"
# "msgauth-required no" to disable message authentication check for
# some implementations (e.g. login_radius(8)) don't support msgauth
msgauth-required no
}
client 192.168.0.0/24 {
secret "secret"
}
module load bsdauth "/usr/libexec/radiusd/radiusd_bsdauth"
#module set bsdauth restrict-group users
module load radius "/usr/libexec/radiusd/radiusd_radius"
module set radius secret "testing123"
module set radius server "127.0.0.1"
module load strip-realm "/usr/libexec/radiusd/radiusd_standard"
module set strip-realm strip-atmark-realm true
authenticate *@local {
authenticate-by bsdauth
decorate-by strip-realm
}
authenticate *@example.com {
authenticate-by radius
}
|