One interface
-
I'm trying to add a pfSense into my homelab with existing equipment. I have an Optiplex 5050 Micro with only one ethernet port.
Would I be able to plug a switch into the Optiplex and then run a cable from the modem into the switch for WAN?
Sorry if this is a bit confusing, I'm still a little new with this. Thanks!
-
You can install pfSense with only one interface as a test but it can't route traffic like that. Unless you add, for example, a VPN as a second interface.
If you only have one NIC you would typically use VLANs to provide the required interfaces but that needs a VLAN capable switch.Steve
-
Got it, so I have to have 2 NICs but the LAN port could plug into a switch and route everything else?
Andy
-
@matrix2113 said in One interface:
I have an Optiplex 5050 Micro with only one ethernet port.
They have made a video just for you ;)
You'll be needing a smart switch with VLAN capabilities.
See here for a walk-through pfsense on 1 network/ethernet port PC using VLANS or here.
edit : this VLAN capable switch has to have at least 3 ports for the connection :
Your real WAN port (going to your ISP router)
Your real LAN port, going to another switch, and this might be an inexpensive ;) 200+ port switch if you have 200 LAN network devices.
A VLAN Trunk port that goes to pfSense - over this interface you have your WAN traffic and your LAN traffic.Btw : firewalls, routers, see them as traffic intersections, have always at least two ports.
Same thing for switches of course : two ports at least. -
You could use a VLAN and managed switch to separate WAN & LAN interfaces.