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

    Pfsense 2.0 on virtualbox

    Scheduled Pinned Locked Moved Virtualization
    4 Posts 3 Posters 3.6k 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.
    • S
      statto
      last edited by

      Hiya, I'm trying to install pfSense on a virtualbox 4.1.2 VM. The host OS is Xubuntu 11.04.

      I've downloaded and installed the CD .iso, I'm just struggling to access the web interface from the host OS. I'm not sure what kind of network interface(s) I should have on the VM (NAT, host-only, bridged etc), and how to configure them in pfSense. I've tried port forwarding (8888->80 and 4443 -> 443) with a NAT interface and setting WAN & LAN static IPs in pfSense but localhost:8888 and :4433 don't take me anywhere.

      I don't need to do any actually router/firewall stuff on the VM, I'd just like to have a look at 2.0s web interface and what's changed/been added. I realise I'm making things very complicated for myself not having a spare box around to try it on.

      Hope this is the right place to ask rather than the virtualbox forums.

      Cheers!

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        There are many ways to do this, I guess the easiest is to set your nic to bridged, so it can get an IP via dhcp just as your computer can, then you can boot pfSense and it should say its wan IP at the end of boot. You may access the web interface just typing the IP address in your web browser.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          By default, pfsense blocks access on the WAN.

          Either setup a VM "behind" the pfSense VM on its LAN side, or allow access to the GUI from the WAN first.

          You can run this command from the console/shell to add an allow all rule on WAN, which once you have access should be replaced by a rule to just let you into the GUI.

          pfSsh.php playback enableallowallwan
          

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            @jimp:

            By default, pfsense blocks access on the WAN.

            True when you have more than one interface, when you have only one interface there is the anti-lockout rule that should solve the problem above  ;)

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