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

    Port tagging on APU2?

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    56 Posts 5 Posters 12.3k 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 @orangehand
      last edited by

      @orangehand said in Port tagging on APU2?:

      I just want to get a guest VLAN working. The devices get an IP via the tagged SSID on Unifi, but no traffic passes

      I recently set up a Unifi AP with pfsense on an old computer. I had previously set it up for another AP, but it works the same. You add a VLAN to the pfsense interface and use the same VLAN ID at the AP. If you have a managed switch in between, you will also have to configure the same VLAN on the ports connected to pfsense and the AP.

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

      1 Reply Last reply Reply Quote 0
      • O
        orangehand
        last edited by

        That is already set up - Guest SSID with a VLAN tag of 20. A device connected to that SSID gets an IP from the right DHCP pool, but the traffic doesn't get out of the LAN, hence it's useless!

        bingo600B JKnottJ 2 Replies Last reply Reply Quote 0
        • bingo600B
          bingo600 @orangehand
          last edited by bingo600

          @orangehand said in Port tagging on APU2?:

          That is already set up - Guest SSID with a VLAN tag of 20. A device connected to that SSID gets an IP from the right DHCP pool, but the traffic doesn't get out of the LAN, hence it's useless!

          I suppose you mean WAN ??

          Can you ping the pfSense Guest interface from a Wifi client ?
          Can you ping 8.8.8.8

          If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

          pfSense+ 23.05.1 (ZFS)

          QOTOM-Q355G4 Quad Lan.
          CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
          LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

          O 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @orangehand
            last edited by

            @orangehand said in Port tagging on APU2?:

            That is already set up - Guest SSID with a VLAN tag of 20. A device connected to that SSID gets an IP from the right DHCP pool, but the traffic doesn't get out of the LAN, hence it's useless!

            Here's what I have for my rules:

            Screenshot_20201128_131914.png

            These work well. They block the guest from accessing anything on my network, other than pinging the VLAN3 interface.

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

            O 1 Reply Last reply Reply Quote 0
            • O
              orangehand @bingo600
              last edited by

              @bingo600 Yes, I meant out from the LAN to the WAN

              bingo600B 1 Reply Last reply Reply Quote 0
              • bingo600B
                bingo600 @orangehand
                last edited by

                @orangehand

                We are talking about the WiFi clients , that cant access the internet ??
                Or did you mean LAN ?

                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                pfSense+ 23.05.1 (ZFS)

                QOTOM-Q355G4 Quad Lan.
                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                O 1 Reply Last reply Reply Quote 0
                • O
                  orangehand @JKnott
                  last edited by

                  @JKnott I'm pretty sure it isn't rules that is the issue. Yours are simply rather more elegant versions of mine! I still cannot get onto the Internet from the guest vlan

                  bingo600B 1 Reply Last reply Reply Quote 1
                  • bingo600B
                    bingo600 @orangehand
                    last edited by

                    @orangehand
                    And you're sure it's not an DNS issue ?

                    can you ping : dns.google.com
                    does it resolve ?

                    Can you ping : 8.8.4.4

                    If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                    pfSense+ 23.05.1 (ZFS)

                    QOTOM-Q355G4 Quad Lan.
                    CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                    LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                    O 1 Reply Last reply Reply Quote 0
                    • O
                      orangehand @bingo600
                      last edited by

                      @bingo600 Yes, Wifi clients. (sorry for delay - it's not letting me post more than once every 2 mins)

                      bingo600B 1 Reply Last reply Reply Quote 1
                      • O
                        orangehand @bingo600
                        last edited by

                        @bingo600 DNS from DHCP is 1.1.1.1 and 9.9.9.9 and I cannot ping 8.8.8.8 from the Guest SSID, but can from the untagged SSID

                        bingo600B JKnottJ 3 Replies Last reply Reply Quote 1
                        • bingo600B
                          bingo600 @orangehand
                          last edited by bingo600

                          @orangehand

                          Can you ping the wifi def-gw (the pfSense Guest interface) from a wifi device ?

                          If you disable the "bloc access to lan" rule on your wifi nterface , can you ping lan devices ?

                          If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                          pfSense+ 23.05.1 (ZFS)

                          QOTOM-Q355G4 Quad Lan.
                          CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                          LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                          1 Reply Last reply Reply Quote 1
                          • bingo600B
                            bingo600 @orangehand
                            last edited by bingo600

                            @orangehand said in Port tagging on APU2?:

                            @bingo600 Yes, Wifi clients. (sorry for delay - it's not letting me post more than once every 2 mins)

                            Just gave you 3 likes ... Think your (now) 5 , makes that limit go away

                            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                            pfSense+ 23.05.1 (ZFS)

                            QOTOM-Q355G4 Quad Lan.
                            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                              @orangehand said in Port tagging on APU2?:

                              @bingo600 DNS from DHCP is 1.1.1.1 and 9.9.9.9 and I cannot ping 8.8.8.8 from the Guest SSID, but can from the untagged SSID

                              Take things one step at a time. Can you ping your VLAN interface by IP address, not host name? The WAN port? The ISP's gateway? If those work then your routing is set up correctly. If you then try something like google.com, and it works, then your DNS is OK. This is how you troubleshoot a problem. Otherwise, we have to guess and make suggestions.

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

                              1 Reply Last reply Reply Quote 1
                              • bingo600B
                                bingo600
                                last edited by bingo600

                                I suppose JKnott is taking over here
                                He's repeating most of what i suggested

                                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                pfSense+ 23.05.1 (ZFS)

                                QOTOM-Q355G4 Quad Lan.
                                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                                  @bingo600

                                  No, just making sure he's not missing anything.

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

                                  bingo600B 1 Reply Last reply Reply Quote 1
                                  • bingo600B
                                    bingo600 @orangehand
                                    last edited by bingo600

                                    @orangehand

                                    Since you don't get the pfSense box as DNS servers on your WiFi clients , you must have changed the default DHCP Server settings.

                                    You haven't changed the DHCP Server Gateway option , have you ?

                                    If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                    pfSense+ 23.05.1 (ZFS)

                                    QOTOM-Q355G4 Quad Lan.
                                    CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                    LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                                    O 1 Reply Last reply Reply Quote 1
                                    • O
                                      orangehand @bingo600
                                      last edited by

                                      @bingo600 No - Screenshot 2020-11-28 at 19.05.29.png

                                      And to follow your checklist, I can ping the VLAN gateway when on the VLAN SSID. I cannot get any further than that.

                                      1 Reply Last reply Reply Quote 0
                                      • bingo600B
                                        bingo600
                                        last edited by bingo600

                                        Did you try to remove/disable the LAN block rule on the Guest Vlan ?
                                        Can you then ping the Lan IF , and/or a Lan device ?

                                        Something is fishy ....
                                        Smells of missing or wrong def-gw.

                                        But if you havent touched Anything besides what you have posted in the dhcp screenshot. PfSense should hand out the interface address as def-gw.

                                        And that you can ping.

                                        Hey ...

                                        That screenshot is not DHCP Server , that's the IF
                                        You haven't set any upstream gw on the if ... have you
                                        Dooh missed it was set to none

                                        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                        pfSense+ 23.05.1 (ZFS)

                                        QOTOM-Q355G4 Quad Lan.
                                        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                                        O 1 Reply Last reply Reply Quote 0
                                        • O
                                          orangehand @bingo600
                                          last edited by

                                          @bingo600 I removed the custom DNS addresses from the DHCP server and that made no difference. What I am wondering is why the SG-1100 has a switch submenu in Interfaces to enable port tagging, and this APU2 does not. Might that be the crux of this?

                                          bingo600B 1 Reply Last reply Reply Quote 0
                                          • bingo600B
                                            bingo600 @orangehand
                                            last edited by bingo600

                                            @orangehand said in Port tagging on APU2?:

                                            @bingo600 I removed the custom DNS addresses from the DHCP server and that made no difference.

                                            I expected that , as your DNS servers are on the INET , and INET can't be reached.

                                            What I am wondering is why the SG-1100 has a switch submenu in Interfaces to enable port tagging, and this APU2 does not. Might that be the crux of this?

                                            Nope .. I'm running a Unifi on a pfSense wo. switch menu , and JKnott does the same (see further up).

                                            Your tagging is working , since you get a Guest Ip address (in Vlan 20)

                                            Post a picture of your DHCP Server settings for Guest

                                            You don't have any group or floating rules , do you ?

                                            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                            pfSense+ 23.05.1 (ZFS)

                                            QOTOM-Q355G4 Quad Lan.
                                            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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