]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
better docs
authorAlan T. DeKok <aland@freeradius.org>
Sat, 17 Aug 2019 13:56:41 +0000 (09:56 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 17 Aug 2019 13:56:48 +0000 (09:56 -0400)
raddb/sites-available/default

index 6f3b69c17341c66a6de19122f70a11d765f2dfa0..109df83638957d8728b53bf85adcb5ee70ea0936 100644 (file)
@@ -342,14 +342,18 @@ server default {
                #
                tcp {
                        #
-                       #  NOTE: As with v3, `ipaddr`, `ipv4addr`, and `ipv6addr`
-                       #  are all allowed.
+                       #  ipaddr:: The IP address where FreeRADIUS
+                       #  accepts packets.
                        #
+                       #  It has the same definition and meaning as
+                       #  the UDP `ipaddr` configuration above.
+                       #
+                       ipaddr = *
 
                        #
-                       #  ipaddr::
+                       #  NOTE: As with v3, `ipaddr`, `ipv4addr`, and `ipv6addr`
+                       #  are all allowed.
                        #
-                       ipaddr = *
 
                        #
                        #  port:: the TCP where FreeRADIUS accepts
@@ -382,22 +386,27 @@ server default {
                        #
                        networks {
                                #
-                               #  allow::
-                               #  deny::
+                               #  allow::  Allow packets from a network.
                                #
-                               #  Allow packets from these networks
+                               #  deny:: Deny packets from a network.
+                               #
+                               #  Allow or deny packets from these networks
                                #  to define dynamic clients.
                                #
                                #  Packets from all other sources will
-                               #  be rejected.
+                               #  be discarded.
                                #
                                #  Even if a packet is from an allowed
-                               #  network, it still must be allowed
+                               #  network, it still must be permitted
                                #  by the "new client" subsection.
                                #
                                #  There is no limit to the number of
                                #  networks which can be listed here.
                                #
+                               #  The allow / deny checks are organised by
+                               #  address.  The order of the items given here
+                               #  does not matter.
+                               #
                                allow = 127/8
                                allow = 192.0.2/24
 #                              deny = 127.0.0/24