connections {

   nat-t {
      local_addrs = 192.168.0.2

      local {
         auth = psk
         id = 192.168.0.2
      }
      remote {
         auth = psk
      }
      children {
         nat-t {
            local_ts = 10.2.0.0/16
            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 {
   ike-alice {
      id = 10.1.0.10
      secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
   }
   ike-venus {
      id = 10.1.0.20
      secret = 0s8PjpI8z+Ym5A9zPvh7+opyyV9NcZp8Br
   }
}
