Attempt to pull in some of the freeradius config from rtc.d.o
[mirror/dsa-puppet.git] / modules / roles / templates / rtc / freeradius-rtc.erb
1 server rtc.debian.org {
2   listen {
3     ipaddr = 127.0.0.1
4     port = 0
5     type = auth
6   }
7
8   authorize {
9     rtc_users
10     digest
11   }
12
13   authenticate {
14     digest
15   }
16
17   preacct {
18   }
19
20   accounting {
21   }
22
23   session {
24   }
25
26   post-auth {
27     update reply {
28       Reply-Message = "thanks for using rtc.debian.org"
29     }
30     Post-Auth-Type REJECT {
31       attr_filter.access_reject
32     }
33   }
34
35   pre-proxy {
36   }
37
38   post-proxy {
39   }
40
41   client localhost {
42     ipaddr = 127.0.0.1
43     secret = <%= @radius_password %>
44   }
45 }