connections {

   rw {
      local_addrs  = 192.168.0.1

      local-psk {
         auth = psk
         id = moon.strongswan.org
      }
      remote-psk {
         auth = psk
      }
      remote-xauth {
         auth = xauth
       }
      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-group {
      secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
   }
   xauth-carol {
      id = carol@strongswan.org
      secret = 4iChxLT3
   }
   xauth-dave {
      id = dave@strongswan.org
      secret = ryftzG4A
   }
}