connections {

   dscp-be {
      local_addrs  = 192.168.0.1
      remote_addrs = 192.168.0.2

      local {
         auth = psk
         id = moon-be
      }
      remote {
         auth = psk
         id = sun-be
      }
      children {
         net-net {
            local_ts  = 10.1.0.0/16
            remote_ts = 10.2.0.0/16

            mark_in  = 10
            mark_out = 10

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

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

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