Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    pfsense and oracle virtualbox (guests blocked)

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 160 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      EricAiken
      last edited by

      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/24

      172.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

      G stephenw10S 2 Replies Last reply Reply Quote 0
      • G
        Gblenn @EricAiken
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator @EricAiken
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.