| RADIUSD.CONF(5) | File Formats Manual | RADIUSD.CONF(5) |
radiusd.conf —
RADIUS daemon configuration file
radiusd.conf is the configuration file for
the RADIUS daemon, radiusd(8).
It has the following format:
Empty lines and lines beginning with the ‘#’ character are ignored.
Keywords may be specified multiple times within the configuration file. The configuration options are as follows:
listen
on address
[accounting] [port
port]client
address/mask {...}secret
secretmsgauth-required
yes | nomodule
name [path] [{...}]The following modules are predefined:
It is optionally followed by a block of options enclosed in curly brackets. The following option can be used in the block:
set
key value ...authenticate
username-pattern ... by
auth [decorate-by
deco ...]authenticate lines are specified, the first
authenticate setting whose
username-pattern matches an authenticating user is
used.
Optionally decoration modules can be specified by deco. The specified modules decorate the RADIUS messages in the configured order.
authentication-filter
username-pattern ... by
auth [decorate-by
deco ...]authentication-filter
works the same as authenticate, but the module can
work as a filter, it can ask the authentication to the following
authentication modules, and then it receives the authentication reply and
modifies the reply.account
[quick] username-pattern ...
to module
[decorate-by deco ...]account configurations
are specified, all matches are used; if the user matches a pattern with
the quick option, then processing stops after that
configuration.
Optionally decoration modules can be specified by deco. The specified modules decorate the RADIUS messages in the configured order.
listen on 0.0.0.0
listen on 0.0.0.0 accounting
listen on ::
listen on :: accounting
client 127.0.0.1/32 {
secret "secret"
msgauth-required no
}
client 192.168.0.0/24 {
secret "secret"
}
module bsdauth {
set restrict-group operator
}
module radius {
set secret "testing123"
set server "127.0.0.1"
}
module standard
module strip-realm "/usr/libexec/radiusd/radiusd_standard" {
set strip-atmark-realm true
}
authenticate *@local by bsdauth decorate-by strip-realm
authenticate * by radius
account * to standard
radiusd(8), radiusd_bsdauth(8), radiusd_eap2mschap(8), radiusd_file(8), radiusd_ipcp(8), radiusd_radius(8), radiusd_standard(8)
| July 18, 2024 | openbsd |