connections {

   home {
      local_addrs  = 192.168.0.100
      remote_addrs = 192.168.0.1 

      local {
         auth = pubkey
         certs = carolCert.pem
         id = carol@strongswan.org
      }
      remote {
         auth = pubkey
         id = moon.strongswan.org 
      }
      children {
         icmp-req {
            local_ts  = dynamic[icmp/2048]
            remote_ts = 10.1.0.0/16[icmp/2048]

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm128-x25519
         }
         icmp-rep {
            local_ts  = dynamic[icmp/0]
            remote_ts = 10.1.0.0/16[icmp/0]

            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm128-x25519
         }
         ftp-ssh {
            local_ts  = dynamic[tcp/32768-65535]
            remote_ts = 10.1.0.0/16[tcp/21-22]
            
            updown = /usr/local/libexec/ipsec/_updown iptables
            esp_proposals = aes128gcm128-x25519
         }
      }
      version = 2
      proposals = aes128-sha256-x25519
   }
}
