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

    Block specific IP from being accessed by LAN clients

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 3 Posters 415 Views 3 Watching
    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.
    • P Offline
      pbnet
      last edited by

      Hello,
      I'm trying to block a specific IP (e.g. 104.199.64.36) from being accessed from all LAN IPs (172.17.77.0/24).

      I've created a firewall rule with:
      Action: Reject
      Interface: LAN
      Address Family: IPv4
      Protocol: Any

      Source: Any
      Destination: Single Host or Alias: 104.199.64.36

      Unfortunately, it does not work, since I can still ping the 104.199.64.36 IP from the LAN machines.

      Anyone could give me some help?

      Thanks.

      KOMK 1 Reply Last reply Reply Quote 0
      • KOMK Offline
        KOM @pbnet
        last edited by

        @pbnet Established states will not be affected by a rule change. Set your rule, clear your states and try your test again.

        P 1 Reply Last reply Reply Quote 1
        • P Offline
          pbnet @KOM
          last edited by

          @kom Thanks a lot.
          How do I clear the states?

          Thanks

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            hieroglyph @pbnet
            last edited by

            @pbnet Please google something like: pfsense clear states

            1 Reply Last reply Reply Quote 1
            • P Offline
              pbnet
              last edited by

              Thanks everyone.
              Worked like a charm.

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