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

    VLAN accessed wirelessly can not access internet

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    47 Posts 5 Posters 2.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.
    • H
      hasekd
      last edited by

      Hey. I am trying to make my VLAN access wirelessly but I can not access the internet. I can ping google, my pfsense router. For exmaple when I connect to the wifi on pc and plug also ethernet cable then the wifi is okay (based on the wifi icon on pc otherwise I have a question mark on it on linux). When I connect the VLAN through ethernet cable on port 5 on my managed switch it works fine. I have the WAP connected on port 3 and on the WAP I have created two SSIDs. One with default VLAN id which works fine and the other with VLAN id 36 which does not work. On port 1 I have the pfsense

      Can someone help me with that please?

      Here are screenshots of my managed switch setup
      managed switch vlan1.png managed switch vlan36.png

      G HLPPCH 2 Replies Last reply Reply Quote 0
      • G
        Gblenn @hasekd
        last edited by Gblenn

        @hasekd Your switch config looks fine based on your description. And it sounds like you have things set up correctly on pfsense given that you have access when connecting directly to port 5. But perhaps a bit more information is required...

        Your pfsense settings wrt VLAN, and your AP setup as well, perhaps that's where it's something you need adjusting.

        H 1 Reply Last reply Reply Quote 0
        • H
          hasekd @Gblenn
          last edited by

          @Gblenn You mean this? vlan1.png vlan36.png

          1 Reply Last reply Reply Quote 0
          • JonathanLeeJ
            JonathanLee
            last edited by

            Have you created access control lists on the interface you assigned your vlans?

            Make sure to upvote

            H 1 Reply Last reply Reply Quote 0
            • H
              hasekd @JonathanLee
              last edited by hasekd

              @JonathanLee Well I do not know what you mean, so no. How to do it please? Maybe If I install OpenWrt on my wap it will be easier to config?

              JonathanLeeJ V 2 Replies Last reply Reply Quote 0
              • JonathanLeeJ
                JonathanLee @hasekd
                last edited by JonathanLee

                @hasekd What is listed on your interfaces tab?

                Screenshot 2024-07-11 at 09.35.05.png

                Make sure to upvote

                H 1 Reply Last reply Reply Quote 0
                • H
                  hasekd @JonathanLee
                  last edited by

                  @JonathanLee I have there the VLAN, LAN and WAN

                  JonathanLeeJ 1 Reply Last reply Reply Quote 0
                  • JonathanLeeJ
                    JonathanLee @hasekd
                    last edited by

                    @hasekd Do you have any rules listed for your VPN like this..?
                    I am sure you do just checking

                    Screenshot 2024-07-11 at 09.35.54.png

                    Make sure to upvote

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      hasekd @JonathanLee
                      last edited by

                      @JonathanLee Only this Screenshot from 2024-07-11 18-37-13.png

                      JonathanLeeJ 2 Replies Last reply Reply Quote 1
                      • JonathanLeeJ
                        JonathanLee @hasekd
                        last edited by

                        @hasekd run a trace route and see where the packets fail.. Did you set your DNS to allow resolution form your IOT side also?

                        Screenshot 2024-07-11 at 09.39.52.png

                        Does Network interfaces have IOT selected?

                        Make sure to upvote

                        1 Reply Last reply Reply Quote 0
                        • JonathanLeeJ
                          JonathanLee
                          last edited by

                          Screenshot 2024-07-11 at 09.40.46.png

                          Also have you enabled DHCP on that interface?

                          Make sure to upvote

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            hasekd @JonathanLee
                            last edited by hasekd

                            @JonathanLee I have everything allowed and enabled. Maybe the WAP is the problem I will try to change for a different one and maybe install OpenWrt on it and I will see. On this I can not install it. I did not find any tutorial to set up this on tp-link, but for OpenWrt tutorials are available

                            JonathanLeeJ 1 Reply Last reply Reply Quote 0
                            • V
                              viragomann @hasekd
                              last edited by

                              @hasekd said in VLAN accessed wirelessly can not access internet:

                              Maybe If I install OpenWrt on my wap it will be easier to config?

                              At least I can tell you, that I'm successfully running an OpenWRT WAP with 5 VLANs behind pfSense.

                              Maybe you should try to change your VLAN ID 1 into something else. Some devices don't work properly, when you have tagged and untagged packets on the same interface.

                              H 1 Reply Last reply Reply Quote 1
                              • H
                                hasekd @viragomann
                                last edited by

                                @viragomann Okay, I will try it with the OpenWrt and also try to change the VLAN id 1 to something else

                                1 Reply Last reply Reply Quote 0
                                • JonathanLeeJ
                                  JonathanLee
                                  last edited by

                                  OpenWRT works fine I tested it out with AP dummy mode on mine.

                                  Make sure to upvote

                                  1 Reply Last reply Reply Quote 0
                                  • JonathanLeeJ
                                    JonathanLee @hasekd
                                    last edited by

                                    @hasekd does your AP have the DNS set as the firewall and or is it in bridge mode or is it handing out dhcp also?

                                    Make sure to upvote

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      hasekd @JonathanLee
                                      last edited by

                                      I could not find any of these settings on the AP. I have now disconnected it and will change for some else. I will let then know if I figure it out with the other one.

                                      HLPPCH 4 Replies Last reply Reply Quote 0
                                      • JonathanLeeJ
                                        JonathanLee @hasekd
                                        last edited by

                                        @hasekd that ACL allows access to everything any VLAN or interface fyi

                                        Make sure to upvote

                                        1 Reply Last reply Reply Quote 0
                                        • HLPPCH
                                          HLPPC Galactic Empire @hasekd
                                          last edited by

                                          @hasekd Some TP-Link switches have an MDIX port and some require a crossover cable. And some have a line above two or three ports which mean you can use only one of these two or three ports for WAN/LAN.

                                          HLPPCH 1 Reply Last reply Reply Quote 0
                                          • HLPPCH
                                            HLPPC Galactic Empire @HLPPC
                                            last edited by HLPPC

                                            @HLPPC Also, I don't think any port should be tagged except the one from the pfSense, which is doing the tagging and untagging on that port. This guide also recommends disabling vlan 1: https://youtu.be/5ohLAFHnOHg

                                            He has a TL-SG108E which can use a straight through cable with the pfsense but on my ISP router 100% needs a crossover. The TL-SG105E has an MDIX port though, and connecting two of those switches likely needs a crossover cable, or at least it matters between the two different types of TP-Link switches. MDI to MDI.

                                            Those are like, my favorite switches for now but easy af to softlock yourself out if you disable vlan 1, and doing so messes with pfBlocker and maybe VPN

                                            alt text

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