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

    Rules not blocking guest network from firewall or other VLANS

    Scheduled Pinned Locked Moved Firewalling
    15 Posts 4 Posters 584 Views 4 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.
    • patient0P Online
      patient0 @rve52001
      last edited by

      @rve52001 said in Rules not blocking guest network from firewall or other VLANS:

      I can log in the Guestnetwork and log into the firewall

      If you are on the GUESTLan and the client you are connection with is on the GUESTLan then that is not possible, your first rule does prevent that.

      Can you show the interface overview and the client configuration?

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        rve52001 @patient0
        last edited by

        @patient0 these are all the rules for the Guestnetworkb8647dfb-75eb-4bec-9f5f-7a242d34a337-image.png
        6c7ba21b-9ab5-4e14-9e6f-a4b8c8233c92-image.png

        patient0P 1 Reply Last reply Reply Quote 0
        • patient0P Online
          patient0 @rve52001
          last edited by

          @rve52001 said in Rules not blocking guest network from firewall or other VLANS:

          these are all the rules for the Guestnetwork

          Is the client getting an IPv4 and IPv6 address? Do the block rules worth with either IPv4 or IPv6?

          None of the blocking rules are matching ever and that is just not possible if the client is on the GUESTLan interface with an GUESTLAN IP, you have created the rules correctly.

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            rve52001 @patient0
            last edited by rve52001

            @patient0 That is why I am at a lost. Everything is configured correctly. Yes guest get both IPv6 ane IPv4. When I am on the guest network, I can ping the firewall on all VLANs. I even changed the rule to just IPv4 and pinged the IPv4 address to the router and it still doesn't block.

            patient0P S 3 Replies Last reply Reply Quote 0
            • patient0P Online
              patient0 @rve52001
              last edited by

              @rve52001 said in Rules not blocking guest network from firewall or other VLANS:

              That is why I am at a lost. Everything is configured correctly.

              Can you show the IP configuration of the client and a traceroute to a) the firewall IP (192.168.30.1) and some external IP?

              1 Reply Last reply Reply Quote 0
              • patient0P Online
                patient0 @rve52001
                last edited by

                @rve52001 I totally forgot: what floating rules do you have? Floating rules get applied before the interface rules.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  SteveITS Rebel Alliance @rve52001
                  last edited by

                  @rve52001 for reference Netgate has examples such as https://docs.netgate.com/pfsense/en/latest/solutions/netgate-4200/opt-lan.html#isolated

                  Check through https://docs.netgate.com/pfsense/en/latest/troubleshooting/firewall.html#new-rules-are-not-applied

                  Your second and third rules are redundant because the top rule already blocks to pfSense. If you meant to block to LAN then you need to use LAN Subnets etc. not LAN Address.

                  Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                  Upvote 👍 helpful posts!

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rve52001 @SteveITS
                    last edited by

                    @SteveITS
                    Thats part of the problem, the first rule is not blocking at all and cant figure out why.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      SteveITS Rebel Alliance @rve52001
                      last edited by

                      @rve52001 Any errors in the filter reload per the troubleshooting?

                      Rules don’t apply because something doesn’t match: source/interface, port, destination.

                      Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                      Upvote 👍 helpful posts!

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

                        @SteveITS said in Rules not blocking guest network from firewall or other VLANS:

                        because something doesn’t match: source/interface, port, destination.

                        Completely agree - but with the rule he is showing ipv4+6 any any to any firewall IP.. It would clearly match trying to open up the webgui of pfsense.

                        But clearly it shows it has never triggered with that 0/0 - so 2 things that come to mind is there is a state currently open that is allowing the traffic even with the block rule added. Other is there is a floating rule that is triggered to allow it before that rule would get evaluated.

                        edit: other thing would be he is not actually talking to pfsense via that specific interface, and the interface being used has different rules that allow the access.

                        So would like to see floating tab rules, take a look in the state table. Like to see clients IP address.. With that rule in place a client on the guestlan subnet should not even be able to ping the pfsense guestlan IP 192.168.30.1 let a lone access the gui.

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