-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsampleconfig
89 lines (78 loc) · 2.76 KB
/
sampleconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Do server side ipv6-prefix pool management. Should be added in
# post-auth and accounting sections.
#
# The module also requires the existence of the Pool-Name
# attribute. That way the administrator can add the Pool-Name
# attribute in the user profiles and use different pools for
# different users. The Pool-Name attribute is a *check* item
# not a reply item.
#
# The Pool-Name should be set as a configuration parameter
# for every module instance. Different modules instances
# can use the same Pool-Name. Multiple Prefixes can be
#
#
# Example:
# radiusd.conf: prefixpool students { [...] }
# prefixpool teachers { [...] }
# users file : DEFAULT Group == students, Pool-Name := "students"
# DEFAULT Group == teachers, Pool-Name := "teachers"
# DEFAULT Group == other, Pool-Name := "DEFAULT"
#
# ********* IF YOU CHANGE THE RANGE PARAMETERS YOU MUST *********
# ********* THEN ERASE THE DB FILES *********
#
prefixpool framedv6pool {
# prefix_start, prefix_stop:
# The start and end ipv6 prefixes for this pool.
# The prefix length of both values must match.
prefix_start = 2013::/64
prefix_stop = 2013:0:0:100::/64
# cache_size:
# The gdbm cache size for the db files. Should
# be equal to the number of ipv6 prefixes available in
# the ipv6 prefix pool
cache_size = 800
pool_name = "ipv6user"
# filename:
# The main db file used to allocate addresses.
filename = ${db_dir}/framed_prefix.pool
# ip_index:
# Helper db index file used in multilink
ip_index = ${db_dir}/framed_prefix.index
# prefix_type:
# Set the IPv6-Prefix type. Possible values are:
# - Framed-IPv6-Prefix (default)
# - Delegated-IPv6-Prefix
#prefix_type = Delegated-IPv6-Prefix
# override:
# If set, the *-IPv6-Prefix already in the
# reply (if any) will be discarded, and replaced
# with a *-IPv6-Prefix assigned here.
# Note: Prefix types must be the same.
# Note: override and append should not be set
# to "yes" at the same time.
override = no
# append:
# If set, the *-IPv6-Prefix will be added as an
# additional attribute *-IPv6-Prefix.
# Note: Prefix types must be the same.
# Note: override and append should not be set
# to "yes" at the same time.
append = no
# maximum-timeout:
# Specifies the maximum time in seconds that an
# entry may be active. If set to zero, means
# "no timeout". The default value is 0
maximum_timeout = 0
# key:
# The key to use for the session database (which
# holds the allocated ip's) normally it should
# just be the nas ip/port (which is the default).
#
# If your NAS sends the same value of NAS-Port
# all requests, the key should be based on some
# other attribute that is in ALL requests, AND
# is unique to each machine needing an IP address.
key = "%{NAS-IP-Address} %{NAS-Port-Id}"
}