Adapt test configurations
Adapt test configurations to the new Debian-based system.
This commit is contained in:
committed by
Tobias Brunner
parent
766466b8d1
commit
533177003c
@@ -0,0 +1,25 @@
|
||||
eap {
|
||||
md5 {
|
||||
}
|
||||
default_eap_type = ttls
|
||||
tls {
|
||||
private_key_file = /etc/raddb/certs/aaaKey.pem
|
||||
certificate_file = /etc/raddb/certs/aaaCert.pem
|
||||
CA_file = /etc/raddb/certs/strongswanCert.pem
|
||||
cipher_list = "DEFAULT"
|
||||
dh_file = /etc/raddb/certs/dh
|
||||
random_file = /etc/raddb/certs/random
|
||||
}
|
||||
ttls {
|
||||
default_eap_type = md5
|
||||
use_tunneled_reply = yes
|
||||
virtual_server = "inner-tunnel"
|
||||
tnc_virtual_server = "inner-tunnel-second"
|
||||
}
|
||||
}
|
||||
|
||||
eap eap_tnc {
|
||||
default_eap_type = tnc
|
||||
tnc {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
realm strongswan.org {
|
||||
type = radius
|
||||
authhost = LOCAL
|
||||
accthost = LOCAL
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
authorize {
|
||||
suffix
|
||||
eap {
|
||||
ok = return
|
||||
}
|
||||
files
|
||||
}
|
||||
|
||||
authenticate {
|
||||
eap
|
||||
}
|
||||
|
||||
preacct {
|
||||
preprocess
|
||||
acct_unique
|
||||
suffix
|
||||
files
|
||||
}
|
||||
|
||||
accounting {
|
||||
detail
|
||||
unix
|
||||
radutmp
|
||||
attr_filter.accounting_response
|
||||
}
|
||||
|
||||
session {
|
||||
radutmp
|
||||
}
|
||||
|
||||
post-auth {
|
||||
exec
|
||||
Post-Auth-Type REJECT {
|
||||
attr_filter.access_reject
|
||||
}
|
||||
}
|
||||
|
||||
pre-proxy {
|
||||
}
|
||||
|
||||
post-proxy {
|
||||
eap
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
server inner-tunnel {
|
||||
|
||||
authorize {
|
||||
suffix
|
||||
eap {
|
||||
ok = return
|
||||
}
|
||||
files
|
||||
}
|
||||
|
||||
authenticate {
|
||||
eap
|
||||
}
|
||||
|
||||
session {
|
||||
radutmp
|
||||
}
|
||||
|
||||
post-auth {
|
||||
Post-Auth-Type REJECT {
|
||||
attr_filter.access_reject
|
||||
}
|
||||
}
|
||||
|
||||
pre-proxy {
|
||||
}
|
||||
|
||||
post-proxy {
|
||||
eap
|
||||
}
|
||||
|
||||
} # inner-tunnel server block
|
||||
+36
@@ -0,0 +1,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
|
||||
@@ -0,0 +1,2 @@
|
||||
carol Cleartext-Password := "Ar3etTnp"
|
||||
dave Cleartext-Password := "W7R0g3do"
|
||||
Reference in New Issue
Block a user