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

    Internet Not Working On VLANs

    Scheduled Pinned Locked Moved General pfSense Questions
    23 Posts 4 Posters 7.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.
    • M
      mcarr
      last edited by

      so i did that, for all 200, i assigned them, enabled them, gave each a 24bit subnet mask. i enabled DHCP and made VLANs 2-200 with a range of 2-100 and that was it. thats where im lost now
      basically i need to know how to get the VLANs connected to the internet, seems like the firewall isnt set up so its blocking everything, but i dont know how to set up the firewall to pass things through, im doing something wrong

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Look at the default rule on LAN.  Duplicate it on one of the VLANs.  Are you sure your switch config is correct? Tagged to pfSense, untagged to your station nodes?

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • M
          mcarr
          last edited by

          im going to post some screen shots as soon as it loads.

          1 Reply Last reply Reply Quote 0
          • M
            mcarr
            last edited by

            alright, here they are.
            untitled and untitled 1 are LAN firewall default settings
            untitled 2 is what i changed VLAN2 firewall settings to, i put an arrow next to what i changed
            i saw in an earlier reply about changing everything to any any any, just like LAN is, problem with that, is LAN wasnt default any any any
            which is my confusion.
            should i change the lan to any any any and then do my vlans like that, or what should i do?

            Untitled2.png_thumb
            Untitled2.png
            Untitled1.png_thumb
            Untitled1.png
            Untitled.png_thumb
            Untitled.png

            1 Reply Last reply Reply Quote 0
            • H
              heper
              last edited by

              are you sure you switch is configured correctly?
              it looks like a switch issue to me if you have interfaces assigned & allow rules on them ….

              • all vlans are tagged on the trunkport 'towards" the pfsense?

              • on the client ports you have the appropriate vlan untagged and have also set the correct PVID ?

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                Exactly.  There's really nothing else to do in pfSense.  With that rule you should be able to get DHCP and ping the interface address.  With automatic outbound NAT you should be avle to get at the internet.

                What kind of switch are you using?  It sounds like it's not configured correctly.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • M
                  mcarr
                  last edited by

                  alright, well ill test this out, see what happens.

                  1 Reply Last reply Reply Quote 0
                  • M
                    mcarr
                    last edited by

                    alright guys, new question.
                    hos should i go about setting up the floating rules for my VLANs?
                    like i know where to go to do it, im just not 100% sure on if id set it up right.

                    1 Reply Last reply Reply Quote 0
                    • DerelictD
                      Derelict LAYER 8 Netgate
                      last edited by

                      Was the switch config wrong?

                      What do you want your floating rules to do?

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • M
                        mcarr
                        last edited by

                        the switch ended up working great, turns out it was that i the rules werent set up right for the VLAN
                        but my boss deleted all but 2 of the VLANs i set up, so now i gotta reset those up.
                        I was wondering if how to set up the floating rule for any any any?
                        i really dont want to set up the same rule for 200 VLANs

                        1 Reply Last reply Reply Quote 0
                        • H
                          heper
                          last edited by

                          don't use floating rules for that …. create an interface group for this purpose.

                          1 Reply Last reply Reply Quote 0
                          • M
                            mcarr
                            last edited by

                            so the ones that have the rule already set,
                            should i exclude them from the group
                            or delete the rules from those and add them to the group,
                            or does it not really matter?

                            1 Reply Last reply Reply Quote 0
                            • M
                              mcarr
                              last edited by

                              or would the best way be to add new rule based on this rule and just change the interface each time, thus creating the same rule for a new VLAN?

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by

                                It really depends on what you want your rules to do, which is what I asked before.  What are you trying to accomplish?  What do you want each vlan to have/not have access to?

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mcarr
                                  last edited by

                                  thats a very good question, my boss only gives me little pieces as to what i need to do and thats part of the reason im on here, because ive been been working on this for over a week and im over it but, right now my boss wants to get on the internet with each one. i guess that answers my question though, thanks. im just going to add a new rule based on this rule and change the interface.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mcarr
                                    last edited by

                                    Alright, everyone. Thank you for your help. Got that one up and working perfectly.
                                    But now i have an issue on a new machine, here's a link to that thread

                                    https://forum.pfsense.org/index.php?topic=86329.0

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