dscp-base {
      local_addrs  = 192.168.0.2
      remote_addrs = 192.168.0.1

      local {
         auth = psk
      }
      remote {
         auth = psk
      }
      children {
         net-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
}

connections {

   dscp-be : dscp-base {
      local {
         id = sun-be
      }
      remote {
         id = moon-be
      }
      children {
         net-net {
            mark_in  = 10
            mark_out = 10
         }
      }
   }

   dscp-ef : dscp-base {
      local {
         id = sun-ef
      }
      remote {
         id = moon-ef
      }
      children {
         net-net {
            mark_in  = 20
            mark_out = 20
         }
      }
   }
}

secrets {
   ike {
      id-be = moon-be
      id-ef = moon-ef
      secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
   }
}
