connections {

   gw-gw {
      local_addrs  = PH_IP_MOON
      remote_addrs = PH_IP_SUN

      local {
         auth = pubkey
         certs = moonCert.pem
         id = moon.strongswan.org
      }
      remote {
         auth = pubkey
         id = sun.strongswan.org
      }
      children {
         net-net {
            local_ts  = 10.1.0.0/16
            remote_ts = 10.2.0.0/16
            icmp = yes

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

   venus : connections.gw-gw {
      local_addrs = PH_IP_MOON1
      remote_addrs = PH_IP_VENUS

      remote {
         id = venus.strongswan.org
      }
      children {
         net-net {
            # only include bob
            local_ts = 10.2.0.8/30
            remote_ts = dynamic
            hostaccess = no
         }
      }
   }
}
