PFsense homelab firewall – Part2

PFsense homelab firewall deployment on vSphere 5.1 homelab server.

  • Download PFSense ISO from PFSense repository mirror ,infactisaLiveCD with option to install on disk.
  • Create virtual machine with following:
    • 1GB RAM
    • OS base line – FreeBSD 64bit (if you downloaded 64bit version, otherwise choose FreeBSD 32 bit
    • at least 2vNIC, one connected to “WAN” network and one connected to “LAN” network.
    • 4GB disk drive

Selection_014

  • Mount ISO to VM and boot it from CD
  • On a welcome screen choose Default option [1]
PfSense boot screen

PfSense boot screen

  • On a first boot configuration wizard ask for configure networking:
    • if you do guest tagging specify vLAN ID, otherwise type n
    • decide which vNIC is connected to WAN – in my case em1 network was connected to external network called WAN01.
    • and which one to LAN network, in my scenarion – em1 was connected to network called LAN01
PFsense network configuration

PFsense network card assigment

  • After initial networking configuration, main configuration menu appears
  • Choose second option and onfigure IP addresses for LAN and WAN interfaces accordingly to your network topology
PFsense main configuration menu

PFsense main configuration menu

When network configuration is ready, let’s install PFsense on virtual machine hard disk

  • From main configuration menu choose 99 and proceed with PFSense installation.
  • Choose between advance or simple installation, I choose simple 🙂
  • Verify console settings
PFsense installation console config

PFsense installation console config

  • Next screen choose between standard kernel and embedded kernel
install kernel

install kernel

  • Wait until installation complete,afterrebootlogintowebtool to administer firewall. default credentials for web interface are:
    • username: admin
    • password: pfsense

 

[box type=”info”] Note: by default web based management interface is accessible on IP address bounded to LAN interface.[/box]

default username and password

default username and password

web management interface

web management interface

UPDATE 24 June 2013

Thanks to Andreas, commented below, I found that PFsense has also virtual appliance in OVA format.

Deploying OVA is very simple:

  • start vSphere client
  • Menu file –>deploy OVF template
deploy ovf template

deploy OVF template

  • Copy paste URL from above link and follow deployment wizard. In case your vCenter server is isolated from internet, download OVA, upload to vCenter and specify UNC path instead URL.

deploy OVA URL

 Update 25 of June 2014 – OVA appliance for PFsense firewall is not available

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).

  • Andreas Peetz

    pfSense is also provided as a virtual appliance in OVA format. Very easy and quick to deploy on vSphere!

    – Andreas