connections {

   rw {
      local_addrs  = 192.168.0.1

      ppk_id = *@strongswan.org

      local {
         auth = psk
         id = moon.strongswan.org
      }
      remote {
         auth = psk
      }
      children {
         net {
            local_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-carol {
      id = carol@strongswan.org
      secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
   }
   ike-dave {
      id = dave@strongswan.org
      secret = 0sjVzONCF02ncsgiSlmIXeqhGN
   }
   ppk-carol {
      id = ppk-carol@strongswan.org
      secret = 0x98c61dd0f8c7daf07759617546f7b3ae156f19a7bc935c61523c7ca998e5eedb
   }
}
