45 lines
899 B
Plaintext
45 lines
899 B
Plaintext
# /etc/strongswan.conf - strongSwan configuration file
|
|
|
|
charon-systemd {
|
|
load = random nonce aes sha1 sha2 md5 pem pkcs1 gmp hmac x509 revocation curl vici socket-default kernel-netlink eap-identity eap-ttls eap-md5 eap-tnc tnc-pdp tnc-imv tnc-tnccs tnccs-20 sqlite
|
|
|
|
syslog {
|
|
daemon {
|
|
tnc = 2
|
|
imv = 3
|
|
}
|
|
}
|
|
plugins {
|
|
eap-ttls {
|
|
phase2_method = md5
|
|
phase2_piggyback = yes
|
|
phase2_tnc = yes
|
|
max_message_count = 0
|
|
}
|
|
eap-tnc {
|
|
max_message_count = 0
|
|
}
|
|
tnc-pdp {
|
|
server = aaa.strongswan.org
|
|
radius {
|
|
secret = gv6URkSs
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
libimcv {
|
|
debug_level = 3
|
|
database = sqlite:///etc/db.d/config.db
|
|
policy_script = /usr/local/libexec/ipsec/imv_policy_manager
|
|
|
|
plugins {
|
|
imv-swima {
|
|
rest_api
|
|
{
|
|
uri = http://admin-user:strongSwan@tnc.strongswan.org/api/
|
|
}
|
|
}
|
|
}
|
|
}
|