]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
added sample client
authorAlan T. DeKok <aland@freeradius.org>
Sat, 12 May 2018 12:40:55 +0000 (08:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 12 May 2018 12:41:12 +0000 (08:41 -0400)
raddb/sites-available/default

index dd2ef3b1925f4b220f778fc24750a1f6fd6c6b3a..1d471d7277527e93ce6744f8531a263218cd2a6a 100644 (file)
@@ -269,6 +269,23 @@ server default {
        }
 
 
+       #
+       #  The "client" sections can can also be placed here.  Unlike
+       #  v3, they do not need to be wrapped in a "clients" section.
+       #  They can just co-exist beside the "listen" sections.
+       #
+       #  Clients listed here will apply to *all* listeners in this
+       #  virtual server.
+       #
+       client localhost {
+               shortname = sample
+               ipaddr = 192.0.2.1
+               secret = testing123
+
+               # The other "client" configuration items can be added
+               # here, too.
+       }
+
 
 ######################################################################
 #