I can ping to IPs, for example 1.1.1.1 but not to domains (/etc/resolv.conf is ok).
If I uncomment the last line I can ping to domains, but that leaves everything open to the outside. How can I block everything to the outside, but permit ping?
Code:
block out
pass inet proto icmp icmp-type { echoreq, unreach }
#pass out quick from 192.168.0.0./24
If I uncomment the last line I can ping to domains, but that leaves everything open to the outside. How can I block everything to the outside, but permit ping?