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

    Wireless with VLAN not allowing traffic

    Scheduled Pinned Locked Moved General pfSense Questions
    81 Posts 5 Posters 17.9k 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.
    • D
      dridhas
      last edited by

      HEllo all,

      Good day.

      i recently installed pfsense and upgraded the network at home.

      So far, everything is working mostly normally, but i had to do some tweaking for the Xbox to work.

      Now, my issue resides in this: if i use an untagged/no-vlan port on my switch, the access to uber and duckduckgo websites work normally... but if i use the wireless with tag/vlan, those 2 access are blocked.

      Both networks have the same DNS, but one does not resolve.

      Can you guide me on how to get this working?

      my current setup is this:
      ISP > pfsense > managed switch with some vlans > WAP/LAN

      Thanks in advance!!

      JKnottJ 1 Reply Last reply Reply Quote 0
      • D
        dridhas
        last edited by

        looks like the issue im experiencing is with the VLAN, if i untag the wifi and the port, everything works fine

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

          @dridhas yeah it doesn't work that way.. There is nothing in pfsense that would say hey lets block this site because this interface is tagged vs untagged.

          Not saying your not having issues, just that there is a piece of the puzzle missing because tagged vs untagged has zero to do with the problem.

          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

          D JKnottJ 2 Replies Last reply Reply Quote 0
          • D
            dridhas @johnpoz
            last edited by

            @johnpoz seems to be that the main issue is with the VLANs rather than pfsense.

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

              @dridhas well again if your vlans were broken - they would be broken.. Not sure how it could work at all for example..

              The vlan being tagged or not tagged has nothing to do with website x working while website y doesn't

              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

              D 1 Reply Last reply Reply Quote 0
              • D
                dridhas @johnpoz
                last edited by

                @johnpoz yup, confirmed... if VLAN is enabled on the WAP and the single port, the traffic flows normally.

                If VLAN is enabled on WAP, the port where the WAP is connected on the switch with TAG and the uplink port with TAG, some sites are inaccessible (i.e uber and duckduckgo)

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

                  @dridhas said in Wireless with VLAN not allowing traffic:

                  switch with TAG and the uplink port with TAG, some sites are inaccessible

                  Your going to have to show what your doing.. But again vlan being tagged or not taqged has ZERO to do with some website working or not working..

                  I am on tagged vlan on my phone and those websites work just fine..

                  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

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dridhas @johnpoz
                    last edited by

                    @johnpoz this is my setup:
                    WAP:
                    b0f0edfc-23bf-45ba-bc14-3f7b59117b47-image.png

                    Switch:
                    77f76313-5f50-459e-934d-f854df69968d-image.png

                    With this setup, wifi works normally with correct subnet (x.x.50.x), duckduckgo times out.

                    and with the below setup on the switch, duckduckgo works normally, but it does not reach the correct subnet (x.x.50.x) as it goes to the default vlan (x.x.20.x)
                    18536d94-a361-4ec2-b263-16ae35fc34b8-image.png

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

                      @dridhas What is plugged into what exactly?

                      And what are you changing on pfsense.. You can not just send tagged or untagged traffic to an interface in pfsense x.x.50.x or x.x.20.x those are different interfaces, etc.

                      Flipping something back and forth between networks could have issues.. But again going to say this 1 last time.. Be it your network tagged or not tagged has ZERO to do with pfsense blocking it.. ZERO!! Pfsense either sees the traffic via the tag or it doesn't It doesn't say oh traffic tagged block uber.com

                      But doesn't look like to me your changing anything on pfsense.. And x.x.50.x and x.x.20.x sure an the hell not the same interface, etc.

                      edit: one thing that SCREAMS BORKED is this

                      borked.jpg

                      You can not run multiple vlans untagged on the same interface - its borked!!

                      If your going to run an untagged vlan be it 1 or 50.. You can not also have the other vlan on that port also untagged.. If your going to put something in vlan 50 untagged, then vlan 1 needs to be removed from that port. if your going to run something untagged on vlan 1, then you can not also have vlan 50 on that port untagged.

                      You can only run 1 untagged vlan on a port at a time.. While sure you can run multiple layer 3 on the same layer 2 - its BORKED and sure you could have all kinds of odd things happening.

                      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

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dridhas
                        last edited by

                        @johnpoz im getting a bit confused now...
                        is it supposed to run them untagged?
                        if i use the tag i get the WAP to get to the correct subnet, otherwise it goes to the default lan

                        1 Reply Last reply Reply Quote 0
                        • D
                          dridhas @johnpoz
                          last edited by

                          @johnpoz said in Wireless with VLAN not allowing traffic:

                          @dridhas What is plugged into what exactly?

                          WAN to pfsense machine
                          pfsense machine to port 6 on the switch (LAN)
                          WAP is plugged in to port 1 on the switch.

                          And what are you changing on pfsense.. You can not just send tagged or untagged traffic to an interface in pfsense x.x.50.x or x.x.20.x those are different interfaces, etc.

                          im not changing anything on pfsense... all changes are being made on WAP/Switch

                          ahking19A 1 Reply Last reply Reply Quote 0
                          • ahking19A
                            ahking19 @dridhas
                            last edited by

                            @dridhas going to need to see the setup in pfSense for VLAN interface assignments. Which interface is trunk to switch?

                            Port 6 of switch is setup as a trunk?

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              dridhas @ahking19
                              last edited by

                              @ahking19 so, the LAN cable from pfsense is going to port 5, not 6 (my bad).
                              WAP is connected to poe port 1

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Since you have the 5GHz AP tagged to VLAN 50 you should be trunking that through the switch to a VLAN 50 interface defined in pfSense. That means VLAN 50 should be tagged on ports 1 and 5 in the switch.
                                That is the situation where you are seeing issues accessing sites so it's probably working since it's connecting via a different logical interface in pfSense.

                                However all of that is not the actual issue you're facing. You say that in that situation those sites do not resolve, so it's probably a DNS issue.
                                You also said the DNS was the same on LAN and VLAN 50 but clearly it isn't. So how is the DNS configured for clients on VLAN 50?

                                Steve

                                1 Reply Last reply Reply Quote 1
                                • JKnottJ
                                  JKnott @dridhas
                                  last edited by

                                  @dridhas

                                  You create additional SSIDs and connect them to the VLANs.

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

                                  D 1 Reply Last reply Reply Quote 0
                                  • JKnottJ
                                    JKnott @johnpoz
                                    last edited by

                                    @johnpoz

                                    I wonder if VLANs over WiFi are supported in the specs. The only significant difference is the content of the Ethertype/length field, though an AP could easily be designed to block VLANs. These days, WiFi links are often used to connect different sites and you'd want the WiFi to be transparent to everything, including VLANs. I guess I'll have to do some experiments some time.

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

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dridhas @JKnott
                                      last edited by

                                      @jknott Yes, SSID for 5g and 2.4g were created on the WAP and the corresponding VLAN in pfsense

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dridhas @JKnott
                                        last edited by

                                        @jknott after created the VLANs in pfsense with their own dhcp/dns server and tagging the ports where the WAP and the main LAN cable are, the devices get connected successfully, but some websites are not accessible, like duckduckgo, if i untag the ports, duckduckgo works normally.

                                        johnpozJ JKnottJ 2 Replies Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator @dridhas
                                          last edited by

                                          @dridhas said in Wireless with VLAN not allowing traffic:

                                          if i untag the ports, duckduckgo works normally.

                                          Sorry it doesn't work that way! You must be filtering differently on this interface then.. A network being tagged or untagged has ZERO to do with if a website is allowed or not, or works or not, etc. It just doesn't - PERIOD!!

                                          Not sure what rabbit hole you have lead yourself down - but tagged or not tagged has nothing to do with it.. If website works on network A, but not network B - then you have something different with dns, or filtering or firewall rules - it has zero to do with if the network is tagged or untagged.

                                          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

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            dridhas @johnpoz
                                            last edited by dridhas

                                            @johnpoz yeah, i mightve done something to mess up that particular vlan...

                                            after i nuked pfsense im planning on recreating one VLAN and test it and go from there.

                                            ideal layout would be to have a vlan for IoT devices, one for 2.4g and one for 5g wifi

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