Introduction
As an IT professional and Master’s student in Information Security, I know the struggle: you want to practice penetration testing, analyze network traffic, or configure complex firewall rules, but you don’t have the budget to buy a rack full of Cisco gear.
The good news is, you don’t need it.
In 2025, virtualization is powerful enough to simulate an entire enterprise network right on your laptop. Whether you are studying for your degree at UCSC or just want to secure your home network, this setup is the perfect starting point.
In this guide, I will show you how to set up pfSense on VMware Workstation Pro to create a secure, segmented home lab environment. This setup allows you to test dangerous things safely, without breaking your family’s internet connection.

The “Free” Tech Stack: What You Need
To get started, we are going to use two industry-standard tools that are essentially free for students and home users.
-
VMware Workstation Pro: Broadcom recently made this free for personal use. It acts as our “data center,” allowing us to run virtual servers on a standard laptop.
-
pfSense Community Edition: This is an open-source firewall based on FreeBSD. It is widely used in the industry, so learning it now adds a valuable skill to your CV.
By combining these, we replace physical routers and firewalls with software.
Why Virtualize? (The Data)
Why not just buy a cheap physical router? Because consumer routers lack visibility.
According to recent cybersecurity reports, over 40% of home networks are vulnerable due to outdated firmware on consumer devices. In a virtualized lab, you have total control. You can inspect every packet that leaves your network.
More importantly for us students: Snapshots. If you make a mistake and lock yourself out of the firewall (which I have done many times!), you can simply revert the Virtual Machine (VM) to a previous state in seconds. You cannot do that with a physical router.
Step 1: Solving the “Network Adapter” Confusion
The most confusing part of this setup is the networking. To make pfSense work as a firewall, you need to assign two virtual network adapters in VMware.
-
Adapter 1 (WAN): Set this to Bridged Mode. This connects the VM to your physical internet (like your SLT router). It will pull a real IP address and let the VM talk to the outside world.
-
Adapter 2 (LAN): Set this to LAN Segment (or Host-Only). This creates a private, isolated network inside your laptop. Your “victim” machines (like a Windows 10 VM or Ubuntu VM) will connect here. They will only get internet by passing through your pfSense firewall.
Step 2: Installation Guide
Here is the quick configuration I use for my labs:
-
Download: Get the latest “AMD64 (64-bit)” ISO installer from the official pfSense website.
-
Create VM: In VMware, select “Create a New Virtual Machine.”
-
OS: Select FreeBSD 12 64-bit (since pfSense is built on FreeBSD).
-
RAM: 1GB is enough for a lab.
-
Storage: 8GB or 10GB is plenty.
-
-
Hardware: Before booting, go to “Edit Virtual Machine Settings” and add a second Network Adapter. Set them up as described in Step 1 (One Bridged, One LAN Segment).
-
Install: Boot the VM. Follow the text-based prompts. Generally, you can hit “Enter” to accept the defaults for everything (Keymap, Partitioning, etc.).
Step 3: Common Pitfalls & Troubleshooting
Even experienced admins run into issues with virtual firewalls. Here is the most common one I see:
The “No Internet on LAN” Issue: Sometimes, pfSense runs slowly or drops packets in a virtual environment because of “Hardware Checksum Offloading.”
-
The Fix: Once you log into the pfSense web interface, go to System > Advanced > Networking and check the box to Disable Hardware Checksum Offloading. This forces the CPU to handle the traffic, which is much more stable for VMware.
Conclusion
Building a home lab is the single best way to learn Information Security. By setting up pfSense on VMware, you have built a safe sandbox where you can break things, analyze malware, or configure VPNs without risk.
Ready to take it to the next level? Now that your firewall is running, you need something to protect. In my next post, I will show you how to set up a “victim” machine on your new private LAN and write your first firewall rule to block it from accessing the web.


Leave a Reply