connections {

   home {
      remote_addrs = 192.168.0.1

      ppk_id = ppk-dave@strongswan.org

      local {
         auth = eap
         eap_id = dave
      }
      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-dave {
      id = dave
      secret = W7R0g3do
   }
   ppk-dave {
      id = ppk-dave@strongswan.org
      secret = 0x06918e49398db61094438a5be8b743894f155f4e8521e6bcd1d47690557e4b13
   }
}
