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

    Blocking one address problem

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 1.0k 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.
    • C
      captaintofuburger
      last edited by

      I'm trying to create a firewall rule to block one address from all local local networks but still have WAN access. For some reason I can only get it to work the other direction, block all WAN but not local.

      I have set in the LAN tab the IP Address for the computer I want to block as the source, and !WAN ADDRESS for the destination with all protocols and ports selected.

      http://imgur.com/ZYW5pJT

      Also I have tried just setting the not wan address option to another local address just to see if the 2 addresses are blocked, and nothing appears to happen, firewall log is blank. E.G source 192.168.2.250 and destination 192.168.2.5, I can still access 192.168.2.5 from 192.168.2.250

      I have cleared states as well.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        WAN address is literally what it says - the WAN IP address. So that block rule blocks everything that isn't destined to your WAN's IP. In that circumstance I usually create a private networks alias, block the desired IP to that destination.

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