connections {

   gw-moon {
      local {
         auth = pubkey
         certs = carolCert.pem
         id = carol@strongswan.org
      }
      remote {
         auth = pubkey
         id = moon.strongswan.org
      }
      children {
         net {
            local_ts  = 10.2.0.0/16
            remote_ts = 10.1.0.0/16

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

   gw-sun : connections.gw-moon {
      remote {
         id = sun.strongswan.org
      }
      children {
         net {
            local_ts  = 10.1.0.0/16
            remote_ts = 10.2.0.0/16
         }
      }
   }
}
