|
|
@ -1,4 +1,4 @@ |
|
|
|
# $OpenBSD: radiusd.conf,v 1.1 2015/08/03 04:19:25 yasuoka Exp $ |
|
|
|
# $OpenBSD: radiusd.conf,v 1.2 2019/04/01 09:40:16 yasuoka Exp $ |
|
|
|
|
|
|
|
listen on 0.0.0.0 |
|
|
|
#listen on :: |
|
|
@ -11,16 +11,16 @@ client 192.168.0.0/24 { |
|
|
|
msgauth-required yes |
|
|
|
} |
|
|
|
|
|
|
|
module load bsdauth "/usr/libexec/radiusd/radiusd_bsdauth" |
|
|
|
module set bsdauth restrict-group operator |
|
|
|
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" |
|
|
|
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-by "bsdauth" |
|
|
|
} |
|
|
|
authenticate *@example.com { |
|
|
|
authenticate-by radius |
|
|
|
authenticate-by "radius" |
|
|
|
} |