connections {

   rw {
      local_addrs  = 192.168.0.1

      local {
         auth = pubkey
         certs = moonCert.pem
         id = moon.strongswan.org
      }
      remote {
         auth = pubkey
      }
      children {
         net {
            local_ts  = 10.1.0.0/16
            priority = 2
            interface = eth0
            policies_fwd_out = yes

            esp_proposals = aes128gcm128-x25519
         }
      }
      version = 2
      proposals = aes128-sha256-x25519
   }

   shunts {
      rekey_time = 0

      children {
         drop-eth0-default {
            local_ts  = 0.0.0.0/0
            remote_ts = 0.0.0.0/0
            interface = eth0
            priority = 4

            mode = drop
            start_action = trap
         }
         pass-ssh-in {
            local_ts  = 0.0.0.0/0[tcp/ssh]
            remote_ts = 0.0.0.0/0[tcp]
            priority = 1

            mode = pass
            start_action = trap
         }
         pass-ssh-out {
            local_ts  = 0.0.0.0/0[tcp]
            remote_ts = 0.0.0.0/0[tcp/ssh]
            priority = 1

            mode = pass
            start_action = trap
         }
        pass-http-out {
            local_ts  = 0.0.0.0/0[tcp]
            remote_ts = 192.168.0.150[tcp/http]
            priority = 1

            mode = pass
            start_action = trap
         }
      }
   }
}
