pfSense


How to configure PXE booting using PfSense

For some testing in my lab environment I needed PXE boot to work. This is how I configured PfSense to support PXE boot. In this scenario I wanted some Windows and Linux devices to boot to an imaging environment. For the Windows devices I needed option 66 en 67 but somehow when I specified those settings in PfSense I didn’t got it to work. The solution was very simple :

Log on to the Webinterface of PfSense, go to services/dhcp server.

Specify the following options :

  • IP Address of TFTP server
  • Enable network booting yes
  • Next Server (= IP Address of TFTP server)
  • Default Bios file name (= filename of legacy of UEFI bootfile name, in my case undionly.kpxe)

pfsense_pxeboot

Save these settings and you’re all set! You don’t have to specify the 66 and 67 settings!


How to configure pfSense to allow outgoing SMTP traffic

In this scenario I would like to allow SMTP traffic to my internet provider so that an application in my test environment is able to send notification messages. In this environment I use pfSense.

For this to work, you have to create a port forwarding rule on the LAN interface forwarding traffic to any IP with port 587.

Open the pfSense interace and go to Firewall rules:

pfsense_smtp_001

Then create a new rule as follows:

pfsense_smtp_002

Make sure you use the right (internal) IP address of the server which is sending the emails.