connections {

   hub {
      remote_addrs = PH_IP_CAROL

      local {
         auth = pubkey
         certs = aliceCert.pem
         id = alice@strongswan.org
      }
      remote {
         auth = pubkey
         id = carol@strongswan.org
      }
      children {
         hub {
            local_ts = 10.1.0.0/16
            remote_ts = PH_IP_CAROL/32,10.2.0.0/16

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