summaryrefslogtreecommitdiff
path: root/testing/tests/tnc/tnccs-11-supplicant/hosts/alice/etc/freeradius/sites-available/inner-tunnel-second
blob: c5bde6a9e32d1810ef08d8175577a22982831383 (plain)
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
server inner-tunnel-second {

authorize {
	eap_tnc {
		ok = return
	}
}

authenticate {
	eap_tnc
}

session {
	radutmp
}

post-auth {
	if (control:TNC-Status == "Access") {
		update reply {
			Tunnel-Type := ESP
			Filter-Id := "allow"
		}
	}
	elsif (control:TNC-Status == "Isolate") {
		update reply {
			Tunnel-Type := ESP
			Filter-Id := "isolate"
		}
	}

	Post-Auth-Type REJECT {
		attr_filter.access_reject
	}
}

} # inner-tunnel-second block