A connection between the subnets behind the gateways moon and sun is set up. The authentication is based on trustworthy public keys stored as IPSECKEY resource records in the Domain Name System (DNS) and protected by DNSSEC.

Upon the successful establishment of the IPsec tunnel, leftfirewall=yes automatically inserts iptables-based firewall rules that let pass the tunneled traffic. In order to test both tunnel and firewall, client alice behind gateway moon pings client bob located behind gateway sun.