Vigyata.AI
Is this your channel?

Easy VLAN Configuration in PFSense with DHCP, Firewall, and Switch Examples

41.0K views· 906 likes· 11:58· Mar 24, 2023

🛍️ Products Mentioned (3)

Featured Products: (affiliate links) Netgate SG-1100... https://amzn.to/40eFAWY X10SDV Motherboard... https://ebay.us/TVC9Yx CSE-505-203B Case... https://ebay.us/4fG9R6 Learn to create and manage VLANs on your pfSense router firewall, including those appliances with a built-in switch, such as the Netgate SG-1100. We will also discuss DHCP, configuration on your L3 switch, and creating firewall rules for allowing traffic out of the VLAN. Chapters: 00:00 Introduction 00:44 New VLAN Interface 02:26 Enabling DHCP 03:35 Switch Configuration 05:28 Netgate Switches 08:12 Firewall Rules 11:36 Conclusions Contact Info: Business email is lithiumsolardiy@gmail.com. I am not available for personal project questions or consultation. Disclaimers and Statements: ► I receive a small commission on purchases made using my affiliated links shared the video description and comments section. The views and opinions expressed here are my own, unbiased, and not influenced by this commission in any way.

About This Video

In this pfSense video, I walk through creating and configuring VLANs the way I actually do it in my home lab. A VLAN is just a way to take the same physical network—your router, switch, and cabling—and split it into separate logical networks. That’s usually for security (keep risky client devices away from sensitive servers), and it can help performance when you’ve got a lot of clients on the network. I start in pfSense under Interfaces > Assignments > VLANs to create a new VLAN (I use tag 25), then I assign it as a new interface, enable it, and give it a static gateway IP (192.168.25.1/24). After that I enable DHCP for the VLAN and show the exact ranges I like to use: .1-.9 reserved for network gear, .10-.99 for DHCP, and .100+ for statics (or use DHCP static mappings). Then I show the switch side using an HPE 2920: tag the uplink port back to pfSense and make the client port untagged for that VLAN. Finally, I cover the part that trips people up: firewall rules. By default, your new VLAN has an implied deny, so nothing gets out until you add rules on that VLAN interface. I also show the extra “built-in switch VLAN” step on devices like the Netgate SG-1100, and I give a real lockdown example using an IP camera VLAN that only allows DNS and NTP to the pfSense router—nothing to the internet.

Frequently Asked Questions

🎬 More from Home SysAdmin