Block incoming WAN ICMP from Internet?



  • Been reading http://www.troubleshooters.com/linux/pf and it's quite good explaining how pf works.

    However, I can't seem to to be able to block incoming ICMP to my WAN interface. I did the following steps:

    Firewall -> Rules -> WAN -> Add (down arrow) -> Action Block -> Protocol ICMP ->  Destination WAN net -> Save

    I get on my smartphone (no, I am not on wifi using cellular data) and ping my WAN IP address and it replies.

    I think I am missing something another step here?

    Thanks for the help.


  • LAYER 8 Netgate

    Not sure what you're talking about. It's blocked by default unless you pass it.

    Except IPv6 where there are some default pass rules because IPv6 requires ICMPv6 to function properly.


  • LAYER 8 Global Moderator

    everything is blocked out of the box unsolicited into your wan.  Unless your talking icmpv6 for sure icmp is blocked.

    So either you have adjusted the default rules or are pinging from the inside or just not even pinging your IP or something is in front of your pfsense, like you isp router.

    How about you post up your wan rules.. And validated if your wan IP is public or rfc1918 or not.



  • Think I found out the problem. Since the pfSense box is sitting behind the ISP router, it's the ISP router that's replying to ICMP.


Log in to reply