• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 4.3k Views 6 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.
  • R Offline
    r801248
    last edited by Jan 11, 2021, 1:52 AM

    Hello Gents, and Ladies

    First post here, need a little help figuring out why are the VLANs being blocked by the firewall.
    I'm not new to FreebSD and Networking in general, but my knowledge is at a "layman" level if you will.

    My box is a Supermicro E200-9B with 4 NIC cards set up as follows,

    WAN - igb1
    LAN - igb2 - 192.168.3.0/24
    OPT1 - igb0 - 172.24.0.0/24
    OPT2 - igb3 - 10.70.0.0/24

    LAN connects to a dummy switch --> Negear Router in AP mode and that's what providing
    connection to the rest of the house at the moment. Running pfBlockerNG and Snort INLINE without issues.

    Recently bought a Netgear GS110TPv3 with the intention of subnetting - Kids WIFI, IoT, NAS, etc.- and connected it to OPT2 using a static address. This is an 8 ports swith, I'm using g8 as the trunk and the rest to play with VLANs. At the moment I have only VLAN10 (10.70.10.0/24) for ports g1 and g2, these two Untagged and g8 Tagged as the manual suggests. Also confirmed the correct setup with Netgear's Customer Service.

    Did the same in my pfSense box and created the VLAN, Firewall Rules, DCHP Server settings following the manual and this write-up here (https://netosec.com/protect-home-network/). Now, if I connect my laptop to either of those two ports, it cannot pick up the DHCP address from the router. If connected to any of the other ports, g3 -> g7, then it connects to the 10.70.0.0/24 range.

    The system log shows APIPA range blocked.

    Jan 10 20:43:24	OPT2	Block IPv4 link-local (1000000101)	  169.254.199.118:137	  169.254.255.255:137	UDP
    

    Firewall rules in OPT2 and OPT3 (VLAN10) are simple. One rule to allow access within the subnet, and the second to allow internet access.

    I've read a few posts on here and I haven't found the solution yet.
    I do appreciate your help in advance.
    Thanks,

    K J 2 Replies Last reply Jan 11, 2021, 10:39 AM Reply Quote 0
    • K Offline
      kiokoman LAYER 8 @r801248
      last edited by Jan 11, 2021, 10:39 AM

      @r801248
      169.254.x.x it's a link-local address, it's an IP for devices that are unable to obtain a DHCP address from the server
      you see the traffic on OPT2 aka igb3 something is wrong on your switch or on your pfSense configuration. we need screenshots of what you have done

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      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 Jan 11, 2021, 11:24 AM Reply Quote 0
      • R Offline
        r801248 @kiokoman
        last edited by r801248 Jan 11, 2021, 11:26 AM Jan 11, 2021, 11:24 AM

        @kiokoman
        Thanks for answering. On the switch, IP address is set up as static and the VLAN as follows -
        switch 1.png
        switch 2.png
        switch 3.png
        All other settings are set to default values.

        On the pfSense box -
        Interfaces
        pf 1.png
        Firewall rules (Similar for OPT3)
        pf rules.png
        With Private_IPv4 as,
        privipv4.png
        And DHCP (Similar setup for OPT3)
        dhcp.png

        DNS Resolver is used by ALL interfaces, and Outbound NAT as Manual (Tried Hybrid and Auto, same results)

        Thanks,

        1 Reply Last reply Reply Quote 0
        • J Offline
          JKnott @r801248
          last edited by Jan 11, 2021, 11:34 AM

          @r801248 said in VLANs blocked by Firewall:

          it cannot pick up the DHCP address from the router

          Did you enable DHCP servers on each VLAN?

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

          R 1 Reply Last reply Jan 11, 2021, 11:35 AM Reply Quote 0
          • R Offline
            r801248 @JKnott
            last edited by Jan 11, 2021, 11:35 AM

            @jknott said in VLANs blocked by Firewall:

            Did you enable DHCP servers on each VLAN?

            Correct.

            J 1 Reply Last reply Jan 11, 2021, 11:42 AM Reply Quote 0
            • J Offline
              JKnott @r801248
              last edited by Jan 11, 2021, 11:42 AM

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

              K 1 Reply Last reply Jan 11, 2021, 6:52 PM Reply Quote 0
              • K Offline
                kiokoman LAYER 8 @JKnott
                last edited by Jan 11, 2021, 6:52 PM

                @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 Jan 11, 2021, 7:05 PM Reply Quote 0
                • R Offline
                  r801248 @kiokoman
                  last edited by r801248 Jan 11, 2021, 7:06 PM Jan 11, 2021, 7:05 PM

                  @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

                  K 1 Reply Last reply Jan 11, 2021, 7:44 PM Reply Quote 0
                  • K Offline
                    kiokoman LAYER 8 @r801248
                    last edited by Jan 11, 2021, 7:44 PM

                    @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 Jan 11, 2021, 8:13 PM Reply Quote 0
                    • R Offline
                      r801248 @kiokoman
                      last edited by r801248 Jan 11, 2021, 8:14 PM Jan 11, 2021, 8:13 PM

                      @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

                      K C 2 Replies Last reply Jan 11, 2021, 8:50 PM Reply Quote 0
                      • K Offline
                        kiokoman LAYER 8 @r801248
                        last edited by Jan 11, 2021, 8:50 PM

                        @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 Jan 11, 2021, 9:08 PM Reply Quote 0
                        • R Offline
                          r801248 @kiokoman
                          last edited by Jan 11, 2021, 9:08 PM

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

                          K 1 Reply Last reply Jan 11, 2021, 9:24 PM Reply Quote 0
                          • K Offline
                            kiokoman LAYER 8 @r801248
                            last edited by kiokoman Jan 11, 2021, 9:26 PM Jan 11, 2021, 9:24 PM

                            @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 Jan 12, 2021, 12:16 AM Reply Quote 0
                            • R Offline
                              r801248 @kiokoman
                              last edited by Jan 12, 2021, 12:16 AM

                              @kiokoman

                              Both rebooted.

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                cburbs @r801248
                                last edited by cburbs Jan 12, 2021, 3:13 PM Jan 12, 2021, 2:36 PM

                                @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 Jan 12, 2021, 9:24 PM Reply Quote 0
                                • R Offline
                                  r801248 @cburbs
                                  last edited by Jan 12, 2021, 9:24 PM

                                  @cburbs Hello,

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

                                  C 1 Reply Last reply Jan 12, 2021, 10:47 PM Reply Quote 0
                                  • C Offline
                                    cburbs @r801248
                                    last edited by cburbs Jan 12, 2021, 10:48 PM Jan 12, 2021, 10:47 PM

                                    @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 Jan 12, 2021, 11:19 PM Reply Quote 0
                                    • R Offline
                                      r801248 @cburbs
                                      last edited by Jan 12, 2021, 11:19 PM

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

                                      K 1 Reply Last reply Jan 13, 2021, 12:11 AM Reply Quote 0
                                      • K Offline
                                        kiokoman LAYER 8 @r801248
                                        last edited by Jan 13, 2021, 12:11 AM

                                        @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 Jan 13, 2021, 12:28 AM Reply Quote 0
                                        • R Offline
                                          r801248 @kiokoman
                                          last edited by Jan 13, 2021, 12:28 AM

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

                                          R 1 Reply Last reply Jan 13, 2021, 1:04 AM Reply Quote 0
                                          20 out of 36
                                          • First post
                                            20/36
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received