connections {

   rw-eap-tls {
      local_addrs  = 192.168.0.1

      local {
         auth = pubkey
         certs = moonCert.pem
         id = moon.strongswan.org
      }
      remote {
         eap_id = "C=CH, O=strongSwan Project, OU=Accounting, CN=*"
         auth = eap-tls
      }
      children {
         net {
            local_ts  = 10.1.0.0/16

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm128-x25519
         }
      }
      version = 2
      proposals = aes128-sha256-x25519
   }

   rw-eap-md5 : connections.rw-eap-tls {
      remote {
         eap_id = %any
         auth = eap-md5
      }
   }
}

secrets {

   eap-carol {
      id = carol
      secret = Ar3etTnp
   }
}
