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

    VLANs blocked by Firewall

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    36 Posts 6 Posters 3.8k 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.
    • JKnottJ
      JKnott @r801248
      last edited by

      @r801248

      Well, you'll have to do what I often recommend. Start simple and get things working, before you do anything else. Then you can see where the failure occurs. As it is, a firewall will not block a VLAN as VLANs are layer 2 and firewalls work at layer 3. The firewall rules are applied to each LAN or VLAN as required. Just get the basic networks going first and then start adding the rules.

      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...

      kiokomanK 1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8 @JKnott
        last edited by

        @r801248
        opt3 is vlan10, i don't see a screenshot for firewall rules and for the dhcp of that interface

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        R 1 Reply Last reply Reply Quote 0
        • R
          r801248 @kiokoman
          last edited by r801248

          @kiokoman

          Sorry, here you go. I only set up the switch static address in OPT2, not in the VLAN.
          opt3 rules.png
          opt3 dhcp.png

          kiokomanK 1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8 @r801248
            last edited by

            @r801248
            ok
            "opt2 net * opt2 net" and "opt3 net * opt3 net", not a big deal but they are wrong rules, devices on the same subnet talk to each other without the help of pfsense. pfsense does not see traffic when the client talk to each other on the same subnet

            i don't see anything else wrong on pfsense, i don't know how the netgear should be configured.
            what i understand is that the vlan tag is not working right on g1/g2/g8
            is there an option like vlan port based vs vlan 802.1q or Dot1q on the switch? it should be 802.1q or Dot1q. is the switch configured as layer 2 ? (ip routing should be disabled on the switch)
            maybe you can use packet capture on the parent interface to see if traffic is passing with tag and if a dhcp DORA is passing

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            R 1 Reply Last reply Reply Quote 0
            • R
              r801248 @kiokoman
              last edited by r801248

              @kiokoman IP Routing is disabled on the switch. These are the SWITCHING --> VLAN options available.

              switch-vlan.png

              And this is the packet capture on the parent interface (OPT2), where 10.70.0.200 is the static IP of the switch.

              03235d10-1c5f-485f-b9f0-15d0103af000-image.png

              kiokomanK C 2 Replies Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8 @r801248
                last edited by

                @r801248
                filter for port 67 / 68 and do a release/renew ( or remove and replug the cable) on whatever you have on g1/g2 , i don't see dhcp stuff on that packet capture
                there should be something like this
                d7e7a638-cc50-4f2b-8735-417300ea34ae-image.png
                where ID 30 is my vlan 30

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                R 1 Reply Last reply Reply Quote 0
                • R
                  r801248 @kiokoman
                  last edited by

                  @kiokoman

                  So, in the Packet Capture screen, you want me to select OPT2 as the interface? I'm assuming Host Address is the Switch's ...

                  kiokomanK 1 Reply Last reply Reply Quote 0
                  • kiokomanK
                    kiokoman LAYER 8 @r801248
                    last edited by kiokoman

                    @r801248
                    use opt3, i don't know if youcan do that with packet capture from pfsense, i use wireshark
                    did you try to reboot pfsense and the switch?

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      r801248 @kiokoman
                      last edited by

                      @kiokoman

                      Both rebooted.

                      1 Reply Last reply Reply Quote 0
                      • C
                        cburbs @r801248
                        last edited by cburbs

                        @r801248 What is your Port PVID Config look like? ooops that was posted earlier.

                        What does this look like?

                        cf1d6151-3600-4ee3-bedd-abec4cea41ce-image.png

                        That config looks correct even looking at this ...

                        https://kb.netgear.com/11673/How-do-I-setup-a-VLAN-trunk-link-between-two-NETGEAR-switches

                        Also on the switch Select Switching > VLAN > Advanced > VLAN Status. what does that look like?

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          r801248 @cburbs
                          last edited by

                          @cburbs Hello,

                          This is what they look like...
                          vlans.png
                          vlans status.png

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            cburbs @r801248
                            last edited by cburbs

                            @r801248

                            And if you plug your laptop into ports 3-7 you mentioned you do get a dhcp from VLAN10 (10.70.10.0/24) ? Can you also get out to the internet on those ports?

                            Have you tried to add say Port 5 to vlan10 untagged and plug into that to see what happens?

                            Maybe delete that Vlan 10 from the switch and start over with it?

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              r801248 @cburbs
                              last edited by

                              @cburbs
                              When I plug the laptop into g3-g7 I get a DHCP from the parent interface (10.70.0.0/24) - Yes, I get out to the internet.
                              Adding any other port (untagged) makes it behave like g1-g2.

                              kiokomanK 1 Reply Last reply Reply Quote 0
                              • kiokomanK
                                kiokoman LAYER 8 @r801248
                                last edited by

                                @r801248
                                did you check if there is a firmware update for that netgear?

                                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                Please do not use chat/PM to ask for help
                                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  r801248 @kiokoman
                                  last edited by

                                  @kiokoman
                                  There is an upgrade. I guess I'll go that route.
                                  Thanks,

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    r801248 @r801248
                                    last edited by

                                    @r801248
                                    Upgraded. Same results. Frustrating.

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      cburbs @r801248
                                      last edited by cburbs

                                      @r801248

                                      And the switch has a static IP not in any of the DHCP ranges?

                                      You may want to set the switch back to default and start over with it again.

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        r801248 @cburbs
                                        last edited by

                                        @cburbs Yes, the static address is outside the range. Resetting to default values did not change the results.

                                        GertjanG 1 Reply Last reply Reply Quote 0
                                        • GertjanG
                                          Gertjan @r801248
                                          last edited by Gertjan

                                          Normally, with these :

                                          04b63da2-9c97-4f85-bf86-0a0db93f10aa-image.png

                                          Traffic can enter OPT3.

                                          Before the final, hidden "drop all" (non-vsible) there is a another hidden rule that let DHCP traffic (UDP, port 67 and ...) come in.
                                          So, what ever happens, DHCP should work. But you can see it work.
                                          Place an pass rule at the top with proto is UDP and port = 67.
                                          Do not use "OPT3 net" as a source, as DHCP traffic is mostly broadcast = 0.0.0.0

                                          What you should see now is that these :

                                          485d0d72-ba35-47c5-b8b5-5e8af3afa17e-image.png

                                          should start to count.

                                          If not : check the NIC, cable, switch and the most obvious one : VLAN settings.

                                          Btw : when issues, go check the real firewall.
                                          It's here, a file : /tmp/rules.debug

                                          No "help me" PM's please. Use the forum, the community will thank you.
                                          Edit : and where are the logs ??

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            marvosa @Gertjan
                                            last edited by marvosa

                                            Some of this stuff has already been mentioned, but the rules on OPT3 have zero hits. So there are multiple areas to look at.

                                            My suggestion:

                                            • Put an any/any rule at the top of OPT3 and disable everything else until basic IP communication is established.
                                            • Remove VLAN1 from g8 on the switch
                                            • Remove the 10.70.0.0/24 subnet from OPT2 and leave it undefined
                                            • Bounce the DHCP server on OPT3
                                            • Reboot the PC connected to g1 or g2

                                            After the above, provided the switch is configured properly... everything should be passed and working as expected.

                                            A cleanup item once you get everything working... remove that OPT3 net/OPT3 net rule... it's doing absolutely nothing.

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