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

    need help: pfBlockerNG with L3 switch with multiple subnets on LAN

    Scheduled Pinned Locked Moved pfBlockerNG
    5 Posts 3 Posters 516 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.
    • M
      mzeid
      last edited by

      Hello,

      I've googled around and I;m stuck with this one.
      I have VLANs that are routed on L3 cisco switch, the default gateway for the L3 switch (and all subnets) is the pfSense firewall.
      I made all the necessary firewall rules and static routes, and pfSense is working fine as a firewall.
      No NATing here.

      topology like this:
      subnets=L3 switch=FW01(pfSense)=switch=FW02=internet modems

      everything was working fine, but pfBlockerNG is only working with LAN subnet. Anything routed behind doesn't not. nslookup from a windows client replies back with
      *** UnKnown can't find ####: Query refused.

      I'm 90% sure this is a firewall rules thing, can you please help me with any hints? thanks

      M johnpozJ 2 Replies Last reply Reply Quote 0
      • M
        mcury Rebel Alliance @mzeid
        last edited by

        @mzeid Go to:

        8ab502f0-f646-4bfe-b8be-189864109f93-image.png

        Then, add the subnets not directly connected to the firewall.

        dead on arrival, nowhere to be found.

        M 1 Reply Last reply Reply Quote 1
        • M
          mzeid @mcury
          last edited by

          @mcury

          You nailed it dear, that solved the problem.

          Never thought there is an access list to the DNS resolver, and it makes sense to protect it from non-trusted networks and DDoS attacks.
          I'm still new to pfSense, used it years ago for only basic stuff.

          Thank you very much.

          M 1 Reply Last reply Reply Quote 1
          • M
            mcury Rebel Alliance @mzeid
            last edited by

            @mzeid said in need help: pfBlockerNG with L3 switch with multiple subnets on LAN:

            You nailed it dear, that solved the problem.

            That's good to hear.

            dead on arrival, nowhere to be found.

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

              @mzeid said in need help: pfBlockerNG with L3 switch with multiple subnets on LAN:

              everything was working fine, but pfBlockerNG is only working with LAN subnet

              Glad you got it sorted, but this points to design problem to be honest. You should not connect downstream router via "lan" if there are other devices on the lan. Downstream routers should be connected via a transit network (no hosts) or you can run into an issue with asymmetrical traffic flow. Unless you do host routing on the devices on the lan network. Or you downstream router is natting, etc.

              Unless none of the devices on the lan never talk to downstream devices.

              as.jpg

              Downstream sends Syn to client on the lan network, the device sends it syn,ack to its default gateway because it has no route to this network. Pfsense never saw the syn, so there is no state.. And traffic is denied.

              This is a better setup when you have a downstream router

              setup.jpg

              Maybe devices on lan and your downstream never talk to each other? But whenever you connect routers together, it should be a transit network (no hosts on it only routers) or you can have issue, especially when a stateful firewall is doing the routing.

              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 1
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.