> For the complete documentation index, see [llms.txt](https://homelab.4pfsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://homelab.4pfsec.com/networking/pfsense.md).

# pfSense

## About

To segregate my Servers from my main network, I created another Virtual LAN. This was a more secure approach and also creates some kind of segregation in my home network. I also have custom firewall rules in place in order to restrict the systems from accessing my main network just in case someone were to get into one of those systems.&#x20;

I also have an OpenVPN server setup in pfSense to enable me to access my machines when I'm not on prem. I'll write about how I did that soon!

![](/files/3ZYyuencPyv2ucjy2hQ5)

![](/files/5VgRYx4DSxPkiWGvzrXN)

## Setup Instructions

### Vswitch Configuration

To create a port group on VMware ESXI we first need to create a Virtual Switch as shown below.

![](/files/IwS8aEq491HkuUMTI6HQ)

### Port Group Configuration

Now that we have a virtual switch setup, we can setup the port group to assign our machines to.

![](/files/GYe4k2z7UDr2n8uPbKer)

![](/files/233E895qkyVqeU6ncDTi)

### Pfsense VM Configuration

Now that we have the new port group created, we can add our Pfsense VM into the network to act as the gateway.

![](/files/fSZAdvm0eeGTzuLvKjbW)

![](/files/Sw6z2wapf97hbbVR4X8b)

Now that the machine is connected to the LAN, we will be able to onboard the new LAN onto the FW.

![](/files/TqC0xWNVQslgNg3M8uqJ)

Once the Interfaces is added, we have to configure the interface and set the IP range.

![](/files/3RaFW6fMZwmxyb3xVnOy)

![](/files/37WnpfBixyzcGK97PJoL)

And once all that is done, check back at the terminal to confirm that you're LAN is successfully added as shown below.

![](/files/kjODSFEqSGuXbNthqihf)
