Pfsense 2.0 on virtualbox



  • 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!



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


  • Rebel Alliance Developer Netgate

    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
    


  • @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  ;)


Log in to reply