Mercurial > hg > fD-testbed
annotate conf/radpxy.eap.testbed.aaa/freeradius/sites-available/proxy-inner-tunnel @ 11:44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 16 Sep 2010 14:23:42 +0900 |
parents | |
children |
rev | line source |
---|---|
11
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
1 # -*- text -*- |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
2 ###################################################################### |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
3 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
4 # This is a virtual server that handles *only* inner tunnel |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
5 # requests for EAP-TTLS and PEAP types. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
6 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
7 # $Id: proxy-inner-tunnel,v 1.3 2008/02/13 09:27:18 aland Exp $ |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
8 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
9 ###################################################################### |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
10 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
11 server proxy-inner-tunnel { |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
12 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
13 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
14 # This example is very simple. All inner tunnel requests get |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
15 # proxied to another RADIUS server. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
16 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
17 authorize { |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
18 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
19 # Do other things here, as necessary. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
20 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
21 # e.g. run the "realms" module, to decide how to proxy |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
22 # the inner tunnel request. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
23 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
24 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
25 update control { |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
26 # You should update this to be one of your realms. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
27 Proxy-To-Realm := "example.com" |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
28 } |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
29 } |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
30 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
31 authenticate { |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
32 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
33 # This is necessary so that the inner tunnel EAP-MSCHAPv2 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
34 # method can be called. That method takes care of turning |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
35 # EAP-MSCHAPv2 into plain MS-CHAPv2, if necessary. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
36 eap |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
37 } |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
38 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
39 post-proxy { |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
40 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
41 # This is necessary for LEAP, or if you set: |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
42 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
43 # proxy_tunneled_request_as_eap = no |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
44 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
45 eap |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
46 } |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
47 } |