connections {

   home {
      local_addrs  = 192.168.0.100
      remote_addrs = 192.168.0.1

      local-rsa {
         auth = pubkey
         certs = carolCert.pem
         id = carol@strongswan.org
      }
      local-xauth {
         auth = xauth
         xauth_id = carol
      }
      remote-rsa {
         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 = 1
      aggressive = yes
      proposals = aes128-sha256-x25519
   }
}

secrets {

   xauth {
      id = carol
      secret = 4iChxLT3
   }
}