pfSense with one physical lan

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

bmacklin

Member
Dec 10, 2013
96
5
8
I only have one physical lan port on my motherboard. I want to run pfSense with openVPN in front of all of my vms. Is this possible with only one physical ethernet port? The VMs will run from the same box.

Can I create two virtual lans and have one be linked to the WAN and the other to a virtual switch to all the VMs?
 

TuxDude

Well-Known Member
Sep 17, 2011
616
338
63
Yes - you can do that. You can create two virtual switches, with the pfSense VM having two virtual NICs one connected to each switch. One switch represents the 'WAN' and is also connected to the physical interface on the host, the other switch is the 'LAN' side and has all your VMs connected to it. The only way for traffic to get to/from any of the VMs is then through the pfSense VM.
 
  • Like
Reactions: nickscott18

Morgan Simmons

Active Member
Feb 18, 2015
134
25
28
44
You can also do it with a port group with All Vlans going to pfsense, and then one virtual nic going in to pfsense. In the console, you just tell it to set up vlans first, and then you can tell it which vlan tags are WAN and LAN. This way, you can continuously add vlans to pfsense without changing anything in VCenter.
 
  • Like
Reactions: Jeggs101

Aluminum

Active Member
Sep 7, 2012
431
46
28
Why do people still do this in 2015, even if for the sake of having teeny tiny router boxes?

/rant