ansible/roles/freeradius/templates/freeradius/3.0/clients.conf.j2

45 lines
1.2 KiB
Django/Jinja

{{ ansible_header | comment }}
# -*- text -*-
##
## clients.conf -- client configuration directives
##
## $Id: 76b300d3c55f1c5c052289b76bf28ac3a370bbb2 $
#######################################################################
#
# Define RADIUS clients (usually a NAS, Access Point, etc.).
#
# Defines a RADIUS client.
#
# '127.0.0.1' is another name for 'localhost'. It is enabled by default,
# to allow testing of the server after an initial installation. If you
# are not going to be permitting RADIUS queries from localhost, we suggest
# that you delete, or comment out, this entry.
#
#
#
# Each client has a "short name" that is used to distinguish it from
# other clients.
#
# In version 1.x, the string after the word "client" was the IP
# address of the client. In 2.0, the IP address is configured via
# the "ipaddr" or "ipv6addr" fields. For compatibility, the 1.x
# format is still accepted.
#
client switches_v4 {
ipaddr = {{ freeradius.infra_switch }}
secret = {{ freeradius.secret_switch }}
virtual_server = radius-filaire
}
client bornes_v4 {
ipaddr = {{ freeradius.infra_bornes }}
secret = {{ freeradius.secret_bornes }}
virtual_server = radius-wifi
}