# /etc/strongswan.conf - strongSwan configuration file

charon-systemd {
  load = random nonce openssl pem pkcs1 revocation curl vici kernel-netlink socket-default eap-identity eap-ttls eap-md5 eap-tnc tnc-tnccs tnccs-20 tnc-imv updown

  multiple_authentication = no

  syslog {
    daemon {
      tnc = 3
      imv = 2
    }
  }
  plugins {
    eap-ttls {
      phase2_method = md5
      phase2_piggyback = yes
      phase2_tnc = yes
    }
  }
}

libtls {
  version_max = 1.3
  suites = TLS_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
}

libimcv {
  plugins {
    imv-test {
      rounds = 0
    }
    imv-scanner {
      closed_port_policy = yes
      tcp_ports = 22
      udp_ports = 500 4500
    }
  }
}
