Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame^] | 1 | # |
| 2 | # Configuration file for the rlm_files module. |
| 3 | # Please see rlm_files(5) manpage for more information. |
| 4 | # |
| 5 | # $Id: 7292e23ea51717ee5cb50c4b9b609e91ebe4a41c $ |
| 6 | # |
| 7 | # This file is similar to the "users" file. The check items |
| 8 | # are compared against the request, but the "reply" items are |
| 9 | # used to update the proxied packet, not the reply to the NAS. |
| 10 | # |
| 11 | # You can use this file to re-write requests which are about to |
| 12 | # be sent to a home server. |
| 13 | # |
| 14 | |
| 15 | # |
| 16 | # Requests destinated to realm "extisp" are sent to a RADIUS |
| 17 | # home server hosted by an other company which doesn't know about |
| 18 | # the IP addresses of our NASes. Therefore we replace the value of |
| 19 | # the NAS-IP-Address attribute by a unique value we communicated |
| 20 | # to them. |
| 21 | # |
| 22 | #DEFAULT Realm == "extisp" |
| 23 | # NAS-IP-Address := 10.1.2.3 |
| 24 | |
| 25 | # |
| 26 | # For all proxied packets, set the User-Name in the proxied packet |
| 27 | # to the Stripped-User-Name, if it exists. If not, set it to the |
| 28 | # User-Name from the original request. |
| 29 | # |
| 30 | #DEFAULT |
| 31 | # User-Name := `%{%{Stripped-User-Name}:-%{User-Name}}` |