connections {

   rw-1 {
      local_addrs  = 192.168.0.1
      remote_addrs = 192.168.0.96/28

      local {
         auth = psk 
      }
      remote {
         auth = psk 
      }
      children {
         net-1 {
            local_ts  = 10.1.0.0/28

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

   rw-2 {
      local_addrs  = 192.168.0.1
      remote_addrs = 192.168.0.150-192.168.0.200

      local {
         auth = psk
      }
      remote {
         auth = psk
      }
      children {
         net-2 {
            local_ts  = 10.1.0.17-10.1.0.20

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes192gcm128-modp4096
         }
      }
      version = 1
      proposals = aes192-sha384-modp4096
   }
}


secrets {

   ike-any {
      id = 0.0.0.0/0 0::0/0
      secret = 0soBAJZLI7Bwwi61Rl113FqD/3
   }
   ike-rw-1 {
      id = 192.168.0.96/28
      secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
   }
   ike-rw-2 {
      id = 192.168.0.150-192.168.0.200
      secret = 0s8qPdxyhDeGfk1l211cS8urXc
   }
   ike-dave {
      id = 192.168.0.200
      secret = 0sjVzONCF02ncsgiSlmIXeqhGN
   }
}
