The handbook says:
But, this reads to me (uniformed, I'm sure) as if it allows icmp on 192.168.1.0/24 (localnet for me), but also from any (the second line). What am I missing?One solution is to let all ICMP traffic from the local network through while stopping all probes from outside the network:
pass inet proto icmp from $localnet to any keep state
pass inet proto icmp from any to $ext_if keep state