pfsense and oracle virtualbox (guests blocked)
-
I can't seem how to get pfsense to let my VM guest traffic through. BTW my pfsense is physical not a VM.
LAN -> 172.16.10.0/24
Virtualbox guest interfaces are bridged to to host's NIC (172.16.10.189). Guests are configured on 172.16.10.0/24172.16.10.189 traffic works fine. I suspect this has something to do with the pfsense noticing the virtualbox nat'ing
with my old fortinet this all worked fine, so I'm assuming it's with pfsense's config.
PFS is using firewall->Nat->outbound as automatic.
What else can I look at. I'm new to pfsense, This should be a common config, so maybe there's a tutorial/White paper on configuring pfsense with VM's.
Thanks in advance
-
@EricAiken I'm not using Virtualbox, but have Proxmox machines running and no issues at all. I can't see that Virtualbox would be different... Unless you are using Virtualbox's built in DHCP server, or set static IP's for each IP and you are NATing. If so, you need to have different subnets on Virtualbox LAN side vs pfsense side, which you don't seem to have.
But it's probably simpler and better to let pfsense DHCP server handle all of that, including any Static IP's. So whether your VM's are bridged on the host NIC or if you have additional NIC's the machine, it's only MAC addresses you need to be concerned with. And possibly VLAN membership which I assume you can set per VM in Virtualbox.
-
@EricAiken said in pfsense and oracle virtualbox (guests blocked):
Virtualbox guest interfaces are bridged to to host's NIC
If you're using bridged NICs in VBox then there is no NAT happening. VMs should just get a DHCP lease from pfSense. I have that setup here and it works fine. Nothing special should be required on pfSense other than firewall rules to allow traffic out. And those would normally already be present.
Steve