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

    Blocking RFC 1918 traffic not working

    Scheduled Pinned Locked Moved Firewalling
    11 Posts 5 Posters 1.5k 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.
    • DerelictD Offline
      Derelict LAYER 8 Netgate
      last edited by

      You cannot use a layer 3 device (life pfSense) to isolate layer 2 clients from each other. That has to be done in your switching or wireless infrastructure.

      Client-to-client traffic occurs on the same subnet. The firewall is not involved at all.

      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
      • T Offline
        thingsmg
        last edited by

        Thanks for your reply, I thought that wasn't possible on pfsense.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Harvy66
          last edited by

          @thingsmg:

          Thanks for your reply, I thought that wasn't possible on pfsense.

          It's not possible on anything other than the switch/AP. You should never have two subnets in the same broadcast domain.

          1 Reply Last reply Reply Quote 0
          • JKnottJ Offline
            JKnott
            last edited by

            You should never have two subnets in the same broadcast domain.

            Possible but not common on IPv4.  Entirely normal and supported on IPv6.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

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

              None of which is relevant to OP's problem. The subnets are on separate NICs as they should be.

              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
              • T Offline
                thingsmg
                last edited by

                Thank y'all guys more than clear that it is not possible to do it, I'm still open if there's any idea on how to do it. Thanx.

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

                  Do it in your wireless and switching (Layer 2) infrastructure.

                  Google wireless client isolation and switch port isolation. Look at your AP docs. Open a ticket with them.

                  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 Offline
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    "Entirely normal and supported on IPv6."

                    No it is NOT…. You do not route traffic between a link local and or globals on the same L2...

                    What part of this do you not understand??  You do not put 2 different global ipv6 prefixes on the same L2 and route between them.

                    Having a link local and global address or even a ULA on the same L2 is not the same thing..

                    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 25.07.1 | Lab VMs 2.8.1, 25.07.1

                    1 Reply Last reply Reply Quote 0
                    • JKnottJ Offline
                      JKnott
                      last edited by

                      Hi Jon

                      You seem to be stuck on IPv4 to the point you don't know how things are on IPv6.  One example was our recent discussion about IPv6 transit networks, where you didn't seem to know IPv6 routing is done over link local addresses, not global or even local (ULA) addresses.  IPv6 was designed to allow things that were never considered or unlikely to be done on IPv4.  For example, it is understood that multiple prefixes on an Interface are normal.  They could be global or local  They're allowed and pfSense happily provides them.  It's also possible to have multiple default gateways on a network, with priority set according to what's supposed to be the primary vs fall back.  You might also have multiple gateways that provide specific routes to some destinations.  All this and more is part of IPv6.  One example I've read about for having global and local addresses on an interface is so that IoT, on the local prefix could be used, while also having global addresses for the Internet.  You might want to read a book, such as IPv6 Essentials, from O'Reilly to learn more.  I've read that and other books on IPv6.  I'm currently reading IPv6 Fundamentals: A Straightforward Approach to Understanding IPv6, from Cisco.  In those books you'll find these things and more were intended when IPv6 was designed.  IPv6 is about much more than just a larger address space.

                      PfSense running on Qotom mini PC
                      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                      UniFi AC-Lite access point

                      I haven't lost my mind. It's around here...somewhere...

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        Harvy66
                        last edited by

                        @thingsmg:

                        Thank y'all guys more than clear that it is not possible to do it, I'm still open if there's any idea on how to do it. Thanx.

                        Not possible via pfSense or any other firewall unless it somehow integrates into your switch/AP. There are APs or switches that can support some forms of client isolation within a broadcast domain. I've never used one, but I know they exist.

                        @Derelict:

                        None of which is relevant to OP's problem. The subnets are on separate NICs as they should be.

                        I totally misread the second paragraph. I saw his current setup was seperate interfaces, but I thought they were trying to combine them.

                        @JKnott:

                        Hi Jon

                        … IPv6 was designed to allow things that were never considered or unlikely to be done on IPv4.  ...

                        Having multiple subnets in the same broadcast domain has nothing to do with IPv4 vs IPv6. IPv6 may make certain aspects of it better or take advantage of certain aspects, but many of the downsides are exactly the same due to fundamental issues that are orthogonal to the Layer 3 protocol.

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