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

    Running PFSense on my Mac Mini through VirtualBox

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 4 Posters 6.5k 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.
    • B Offline
      bluepr0
      last edited by

      Thanks for your reply!

      I actually disabled it previously, but it didn't make any difference (restarted the Vm). These tests are made over my Mac Mini, but on the NAS I have experienced the same issues (using VIRTUALIZATION station, which is what QNAP uses, I think it's based on QEMU)

      My NAS is a 451+, but I decided to try with my Mac mini because I thought that the hardware wasn't good enough or that the virtual environment  wasn't the best, but it seems that is something else.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bluepr0
        last edited by

        This is a screenshot from of top command on pfsense running over VirtualBox. I was download a file at around 60mbps (I have 200mbps). Using all the CPU. It actually got worse now I'm using the Virtuo drives :(

        1 Reply Last reply Reply Quote 0
        • johnpozJ Offline
          johnpoz LAYER 8 Global Moderator
          last edited by

          why don't you try putting esxi on the mini, looks like 6 works on them without anything special..

          http://www.virtuallyghetto.com/2015/02/esxi-6-0-works-ootb-for-apple-mac-mini-mac-pro.html

          How many nics does this mini have?  Are you hairpinning your connection for both wan and lan on the same physical interface?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • B Offline
            bluepr0
            last edited by

            hey, thanks for your reply!

            Yes, I think that testing ESXI will be my last resource before I think about building a mini-itx PC (as far as I read it ESXI seems to be free with limitations after the 60 days evaluation period, but will have to read more on that).

            I have 2 NICs on the Mac Mini, the integrated one and a thunderbolt to ethernet one (Apple original adapter)

            1 Reply Last reply Reply Quote 0
            • B Offline
              bluepr0
              last edited by

              I have also tried all from the Broadcom section (both NICs are broadcom) https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards but got no luck :(

              1 Reply Last reply Reply Quote 0
              • B Offline
                bluepr0
                last edited by

                Well, I've finally tried ESXI and it seems now I'm getting my 200mbps. Still it seems the CPU usage is a bit high (around 30%) but at least I can use this for now and in the future build a native pc for this!

                thanks!

                1 Reply Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  So why do you consider 30% high, is that what pfsense is reporting or what the host is reporting.  What is the mhz being used by the vm showing 30%?  Can we see the rrd graph of cpu usage on pfsense.  What does your host cpu usage look like?

                  What is the point of using 0% cpu, just tells me your box is way over powered ;)  The advantage of vm's is to use up those unused cycles of boxes that sit there idle most of the time anyway.

                  My little hp n40l has 6 vms running 24/7/365.. And don't have any issues.. Can fire up multiple more vms to play with etc.. and never maxing out the thing..

                  cpuuse.png
                  cpuuse.png_thumb

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bluepr0
                    last edited by

                    I have updates!

                    I've installed natively pfSense on the Mac Mini (I thought it was almost impossible and actually it was pretty simple, both LANs recognised and all!).

                    Now I'm getting around 8% cpu usage when using all my internet with lots of services (snort, squid, ntop, etc). If I do a iperf to use all my LAN bandwidth I get around only 30% of CPU usage

                    Regarding VMWare ESXi, It was the host who was reporting around 30% of usage when for 200mbps

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TommyBoyChicago
                      last edited by

                      So…. how DID you get it running natively?

                      I'm anxious to find out because there is little to no information on doing this on a mac machine. I have a old mac Mini that I would love to run this on natively. There's no point to wasting resources on a VM if it's not necessary.

                      Any additional info you can provide is much appreciated.

                      Tom

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bluepr0
                        last edited by

                        I just booted directly from an USB installer and everything went smoothly. My Mac mini is from 2012, if you have an older one might be different!

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