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

    VLAN Assistance

    Scheduled Pinned Locked Moved General pfSense Questions
    43 Posts 8 Posters 8.2k 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.
    • easysimpleitE
      easysimpleit
      last edited by

      Could use some help.

      I've setup a vlan specifically for the kids and I'm having a hard time with getting the vlan to route anything. Obviously I'm doing something wrong, in the firewall rules I have a any to any rule which I thought should allow any and all traffic but that's not the case.

      Physically I have a NIC interface dedicated to the WiFi AP (by default 10.0.20.0/24) and then the vlan12 (10.0.12.0/24) associated. Anything that connects to the main SSID routes just fine but once I enable vlan12 on the kids wifi network nothing happens. I'm sure I'm doing something very wrong or missing a step. Any help would greatly appreciated.

      Thank you

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        Is it an actual AP ?

        Is it connected to a switch where your trunking the native vlan and VLAN 12 to the AP ?

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        easysimpleitE 1 Reply Last reply Reply Quote 0
        • easysimpleitE
          easysimpleit @NogBadTheBad
          last edited by

          @nogbadthebad said in VLAN Assistance:

          Is it an actual AP ?

          Is it connected to a switch where your trunking the native vlan and VLAN 12 to the AP ?

          Actual AP, an Unifi AC-Pro. It's connected directly to the pfsense box. The clients do connect and get the correct IP. Just no traffic moves, not even to the management page of the pfsense.

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

            What rules did you put on the vlan 12 interface in pfsense? Had you messed with the outbound nat and taken it off automatic. If so when you add a network/vlan you would have to make sure you adjust the outbound nat, etc.

            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

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

              This may be a dumb question, but did you set up a VLAN interface in pfSense? Do the kids get an IP address? If they get one, can they ping the VLAN interface on pfSense?

              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
              • NogBadTheBadN
                NogBadTheBad
                last edited by NogBadTheBad

                Ah same AP that I have then, I use a POE switch as well :)

                Should work, what do your firewall rules on VLAN 12 look like ?

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                1 Reply Last reply Reply Quote 0
                • easysimpleitE
                  easysimpleit
                  last edited by

                  Here are the rules I have setup for the WiFi interface. - https://gyazo.com/952b4386388881cf71458ea1e1fdb219

                  Here are the rules I have setup for the Kids Wifi Interface. - https://gyazo.com/06da96f5d8d992af67b087833301cca1

                  Here are my current NAT rules - https://gyazo.com/e6cd81fa145743bead73f8a6a963ac03

                  I'm definitely not the brightest bulb in the pack, I'm sure it's something dumb stupid that I'm overlooking. All help is greatly appreciated.

                  johnpozJ 1 Reply Last reply Reply Quote 0
                  • NogBadTheBadN
                    NogBadTheBad
                    last edited by NogBadTheBad

                    you can remove the 127.0.0.1 firewall rule, as 127.0.0.1 is the device itself.

                    You can just drop screenshots into the compose window btw :)

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                      @easysimpleit

                      Yes pleas just attach.. Some of us are at work, and work proxy blocks access to such image hosting sites most of the time. I can not access those without bypass the proxy.. Which isn't all that hard - just a bit of a PITA ;)

                      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

                      NogBadTheBadN 1 Reply Last reply Reply Quote 0
                      • NogBadTheBadN
                        NogBadTheBad @johnpoz
                        last edited by

                        @johnpoz said in VLAN Assistance:

                        @easysimpleit

                        Yes pleas just attach.. Some of us are at work, and work proxy blocks access to such image hosting sites most of the time. I can not access those without bypass the proxy.. Which isn't all that hard - just a bit of a PITA ;)

                        I had to do a shift reload to see it the second time :)

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                        1 Reply Last reply Reply Quote 0
                        • easysimpleitE
                          easysimpleit
                          last edited by

                          2_1527607907398_e6cd81fa145743bead73f8a6a963ac03.png 1_1527607907397_952b4386388881cf71458ea1e1fdb219.png 0_1527607907397_06da96f5d8d992af67b087833301cca1.png

                          1 Reply Last reply Reply Quote 0
                          • easysimpleitE
                            easysimpleit
                            last edited by

                            It seems like it's a rule problem but I'm really not sure. DHCP for the vlan works, the clients get an IP but nothing else besides that work, can't hit the admin page for pfsense and no internet access. Looking at my rules I'm sure I need to clean them up but getting this vlan thing figured out would be so great right now. I'm about to start locking down the network.

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

                              Why do you have all those manual mappings in your outbound nat that duplicate your automatic?

                              What is your vlan 12 interface settings.. Can your wireless clients on this vlan even ping your pfsense IP on this interface? You have a any any rule so they should be able to get to pfsense.

                              Are you running unifi controller? I was not aware that they allow for their phone app to set ssid with vlan IDs on them? Thought that had to be done in the controller?

                              Been running unifi and pfsense for years. Run multiple vlans on mine and also even got their MAB working on their psk networks with freerad, etc. This is clickity clickity stuff so missing something stupid for sure.

                              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

                              easysimpleitE 1 Reply Last reply Reply Quote 0
                              • NogBadTheBadN
                                NogBadTheBad
                                last edited by NogBadTheBad

                                Do you have any sort of device you can connect to the pfSense port that supports VLANS so you could rule out the AP?

                                You can with a MAC:-

                                0_1527614794035_MAC VLAN.jpg

                                Choose Apple menu > System Preferences, then click Network. Click the Action pop-up menu at the bottom of the list on the left, then choose Manage Virtual Interfaces. Click the Add button , then choose New VLAN. Give the service a name, then enter a value in the Tag field.

                                Also I'd not open my NAS up to the internet unless I had a very good reason.

                                Andy

                                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                                easysimpleitE 1 Reply Last reply Reply Quote 0
                                • easysimpleitE
                                  easysimpleit @johnpoz
                                  last edited by

                                  @johnpoz

                                  I removed the additional rules. May have been left overs of some other crazy idea I had.

                                  Here is the configuration for interface vlan 12 aka KdsWiFi
                                  0_1527627885585_0993a7a7cc94b213088ed3dc03623838.png
                                  0_1527627950296_1c981691-ca71-4120-8637-6dffd809c009-image.png

                                  Yes, I am using a unifi controller. Since that's wired, thats on another IP range but I've opened the rules to allow bi-directional talks between the two.

                                  Appreciate your feedback.

                                  1 Reply Last reply Reply Quote 0
                                  • easysimpleitE
                                    easysimpleit @NogBadTheBad
                                    last edited by

                                    @nogbadthebad

                                    Originally this worked perfectly. I had two lan ports bridged and attached a vlan to the mix + a PoE managed switch. All was well with the world, then my PoE switch died. I saw online where someone has there AP setup on a dedicated LAN port and attached some vlans. I'm either an idiot or missing something in my setup.

                                    Crazy thing is the clients get an IP, just no internet and I can't hit the admin page or pin the pfsense.

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

                                      Getting DHCP and nothing else is the behaviour you see when there are no firewall rules on the interface.
                                      Though you have added rules to pass that the behaviour indicates they may not be loading correctly.
                                      Do you see any alerts shown in the GUI at the top of the page? None of your screenshots quite showed that.

                                      You might be hitting this:
                                      https://forum.netgate.com/topic/129001/solved-2-4-3-rc-filter_configure_sync-cannot-define-table-bogonsv6

                                      Steve

                                      easysimpleitE 1 Reply Last reply Reply Quote 0
                                      • jahonixJ
                                        jahonix @easysimpleit
                                        last edited by

                                        @easysimpleit Stupid question but I remember it being of use previously: did you reboot pfSense?

                                        easysimpleitE 1 Reply Last reply Reply Quote 0
                                        • easysimpleitE
                                          easysimpleit @stephenw10
                                          last edited by

                                          @stephenw10 I’ve made the adjustment but haven’t tested it. I’ll get back to you

                                          1 Reply Last reply Reply Quote 0
                                          • easysimpleitE
                                            easysimpleit @jahonix
                                            last edited by

                                            @jahonix I did not but I can. Let me try that.

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