Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Block incoming WAN ICMP from Internet?

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 3 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jgomez
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        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.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          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.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • J
            jgomez
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.