-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradiusd.conf
185 lines (154 loc) · 3.6 KB
/
radiusd.conf
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
name = freeradius
correct_escapes = true
max_request_time = 30
max_requests = 10240
hostname_lookups = no
correct_escapes = true
debug_level = 9
prefix = .
localstatedir = ${prefix}/var
raddbdir = .
name = radiusd
log {
destination = stderr
auth = yes
timestamp = yes
}
security {
user = radius
group = radius
allow_core_dumps = no
max_attributes = 200
reject_delay = 1
status_server = yes
}
proxy_requests = yes
proxy server {
}
home_server h1 {
type = auth+acct
ipaddr = 52.37.147.195
port = 2083
proto = tcp
secret = radsec
response_window = 15
revive_interval = 10
status_check = none
check_interval = 30
check_timeout = 5
max_outstanding = 10000
tls {
private_key_file = /etc/raddb/key.pem
certificate_file = /etc/raddb/cert.pem
ca_file = /etc/raddb/cacerts/early_acc_ca.pem
# ca_path = /etc/raddb/cacerts
random_file = /dev/urandom
fragment_size = 8192
tls_min_version = "1.2"
}
limit {
max_connections = 32
}
}
home_server h2 {
type = auth+acct
ipaddr = 44.229.62.214
port = 2083
proto = tcp
secret = radsec
response_window = 15
revive_interval = 10
status_check = none
check_interval = 30
check_timeout = 5
max_outstanding = 10000
tls {
private_key_file = /etc/raddb/key.pem
certificate_file = /etc/raddb/cert.pem
# ca_file = /etc/raddb/cacerts/early_acc_ca.pem
ca_path = /etc/raddb/cacerts
random_file = /dev/urandom
fragment_size = 8192
tls_min_version = "1.2"
}
limit {
max_connections = 32
}
}
home_server h3 {
type = auth+acct
ipaddr = 44.241.107.197
port = 2083
proto = tcp
secret = radsec
response_window = 15
revive_interval = 10
status_check = none
check_interval = 30
check_timeout = 5
max_outstanding = 10000
tls {
private_key_file = /etc/raddb/key.pem
certificate_file = /etc/raddb/cert.pem
# ca_file = /etc/raddb/cacerts/early_acc_ca.pem
ca_path = /etc/raddb/cacerts
random_file = /dev/urandom
fragment_size = 8192
tls_min_version = "1.2"
}
limit {
max_connections = 32
}
}
home_server_pool helium {
type = load-balance
home_server = h1
home_server = h2
home_server = h3
}
realm freedomfi.com {
auth_pool = helium
acct_pool = helium
}
realm hellohelium.com {
auth_pool = helium
acct_pool = helium
}
thread pool {
start_servers = 80
max_servers = 512
min_spare_servers = 48
max_spare_servers = 96
max_requests_per_server = 0
}
client controller {
ipaddr = *
secret = radsec
nastype = other
}
modules {
}
server default {
listen {
type = auth
ipaddr = *
port = 1812
}
listen {
type = acct
ipaddr = *
port = 1813
}
authorize {
update control {
# Proxy-to-Realm := "freedomfi.com"
Proxy-to-Realm := "hellohelium.com"
}
}
accounting {
update control {
# Proxy-to-Realm := "freedomfi.com"
Proxy-to-Realm := "hellohelium.com"
}
}
}