connections {

   rw-1 {

      local {
         auth = pubkey
	 id = moon.strongswan.org 
      }
      remote {
         auth = pubkey
         id = carol@strongswan.org 
      }
      children {
         net-1 {
            local_ts  = 10.1.0.0/28

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128-sha256-x25519
         }
      }
      version = 1 
      proposals = aes128-sha256-x25519,3des-sha1-modp2048
   }

   rw-2 {
      local {
         auth = pubkey
         id = moon.strongswan.org 
      }
      remote {
         auth = pubkey
         id = dave@strongswan.org
      }
      children {
         net-2 {
            local_ts  = 10.1.0.16/28

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = 3des-sha1-modp2048
         }
      }
      version = 1
      proposals = 3des-sha1-modp2048,aes128-sha256-x25519
   }
}
