connections {

   rw {
      local_addrs  = 192.168.0.1

      local {
         auth = pubkey
         certs = moonCert.pem
         id = moon.strongswan.org
      }
      remote {
         auth = pubkey
      }
      remote-xauth {
         auth = xauth
      }
      children {
         net {
            local_ts  = 10.1.0.0/16 

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

secrets {

   xauth-carol {
      id = carol
      secret = "4iChxLT3" 
   }
   xauth-dave {
      id = dave
      secret = "ryftzG4A"
   }
}
