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.
    • 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
                                      • easysimpleitE
                                        easysimpleit
                                        last edited by

                                        At a total loss.

                                        When I monitor the firewall logs, everything that comes across has a green check. As if the FW isn't stopping anything but yet nothing is happening.

                                        Could it be something with the NIC? This is a dedicated NIC, could it be something with the way pfsense deals with multiple interfaces?

                                        Any other suggested on what to check? I really feel like it's something I'm overlooking but can't put my finger on it.

                                        Thanks again everyone.

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

                                          To be clear devices on that VLAN/SSID do pull an IP address in the correct subnet for the VLAN interface?

                                          Are clients able to resolve IP addresses? If you ping pfsense.org for example?

                                          But no other traffic is shown?

                                          I would run a packet capture on the parent interface and look for VLAN tagged packets coming in.

                                          Steve

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

                                            @stephenw10 Hi Stephen, tried that. I have the packet captures and from what I'm seeing or not seeing this still isn't making sense to me. Can I DM you the pcaps and you give me your thoughts? Maybe I'm missing something.

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