The Easy Way Out: The Buck Stops Here

        pass inet proto icmp from $localnet icmp-type $icmp_types
        pass inet proto icmp to $ext_if icmp-type $icmp_types
        pass inet6 proto icmp6 from $localnet icmp6-type $icmp6_types
        pass inet6 proto icmp6 to $ext_if icmp6-type $icmp6_types

Lets your traffic pass; hides the details of your local net