port ranges haven't been supported for years
[freeradius.git] / raddb / mods-config / preprocess / huntgroups
1 #
2 # huntgroups    This file defines the `huntgroups' that you have. A
3 #               huntgroup is defined by specifying the IP address of
4 #               the NAS and possibly a port.
5 #
6 #               Matching is done while RADIUS scans the user file; if it
7 #               includes the selection criteria "Huntgroup-Name == XXX"
8 #               the huntgroup is looked up in this file to see if it
9 #               matches. There can be multiple definitions of the same
10 #               huntgroup; the first one that matches will be used.
11 #
12 #               This file can also be used to define restricted access
13 #               to certain huntgroups. The second and following lines
14 #               define the access restrictions (based on username and
15 #               UNIX usergroup) for the huntgroup.
16 #
17
18 #
19 # Our POP in Alphen a/d Rijn has 3 terminal servers. Create a Huntgroup-Name
20 # called Alphen that matches on all three terminal servers.
21 #
22 #alphen         NAS-IP-Address == 192.0.2.5
23 #alphen         NAS-IP-Address == 192.0.2.6
24 #alphen         NAS-IP-Address == 192.0.2.7
25
26 #
27 # The POP in Delft consists of only one terminal server.
28 #
29 #delft          NAS-IP-Address == 198.51.100.5
30
31 #
32 # Port 0 on the first terminal server in Alphen are connected to
33 # a huntgroup that is for business users only. Note that only one
34 # of the username or groupname has to match to get access (OR/OR).
35 #
36 # Note that this huntgroup is a subset of the "alphen" huntgroup.
37 #
38 #business       NAS-IP-Address == 198.51.100.5, NAS-Port-Id == 0
39 #               User-Name == rogerl,
40 #               User-Name == henks,
41 #               Group == business,
42 #               Group == staff
43