connections {

   home {
      local_addrs  = 192.168.0.100
      remote_addrs = 192.168.0.1

      ppk_id = ppk-carol@strongswan.org
      ppk_required = yes

      local {
         auth = eap
         eap_id = carol
      }
      remote {
         auth = pubkey
         id = moon.strongswan.org
      }
      children {
         home {
            remote_ts = 10.1.0.0/16

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

secrets {

   eap-carol {
      id = carol
      secret = Ar3etTnp
   }
   ppk-carol {
      id = ppk-carol@strongswan.org
      secret = 0x98c61dd0f8c7daf07759617546f7b3ae156f19a7bc935c61523c7ca998e5eedb
   }
}
