An IPv6 ESP connection between the hosts moon and sun is successfully set up. The authentication is based on X.509 certificates. Upon the successful establishment of the IPsec tunnel, automatically inserted ip6tables-based firewall rules that pass the tunneled traffic. In order to test both the host-to-host tunnel and the firewall rules, moon sends an IPv6 ICMP request to sun using the ping6 command.