connections {

   rw-carol {
      local_addrs  = 192.168.0.1
      remote_addrs = 192.168.0.100

      local {
         auth = psk
      }
      remote {
         auth = psk
      }
      children {
         net {
            local_ts  = 10.1.0.0/16

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

   rw-dave {
      local_addrs  = 192.168.0.1
      remote_addrs = 192.168.0.200

      local {
         auth = psk
      }
      remote {
         auth = psk
      }
      children {
         net {
            local_ts  = 10.1.0.0/16

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

secrets {

   ike-carol {
      id = 192.168.0.100
      secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
   }
   ike-dave {
      id = 192.168.0.200
      secret = 0sjVzONCF02ncsgiSlmIXeqhGN
   }
}
