Skip to content

Instantly share code, notes, and snippets.

@vulongtran
Created August 14, 2021 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vulongtran/da019d4d40122601a9cb054cdfb230fb to your computer and use it in GitHub Desktop.
Save vulongtran/da019d4d40122601a9cb054cdfb230fb to your computer and use it in GitHub Desktop.
FreeRadius default config file /etc/raddb/clients.conf with less comments
## clients.conf -- client configuration directives
#######################################################################
client localhost {
ipaddr = 127.0.0.1
proto = *
secret = testing123
require_message_authenticator = no
nas_type = other # localhost isn't usually a NAS...
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
# IPv6 Client
client localhost_ipv6 {
ipv6addr = ::1
secret = testing123
}
# All IPv6 Site-local clients
#client sitelocal_ipv6 {
# ipv6addr = fe80::/16
# secret = testing123
#}
#client example.org {
# ipaddr = radius.example.org
# secret = testing123
#}
#
#client private-network-1 {
# ipaddr = 192.0.2.0/24
# secret = testing123-1
#}
#client private-network-2 {
# ipaddr = 198.51.100.0/24
# secret = testing123-2
#}
#clients per_socket_clients {
# client socket_client {
# ipaddr = 192.0.2.4
# secret = testing123
# }
#}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment