You can use pfSense Firewall as an open source tool for a secure network that also includes routing, VPN, and other features. You can configure pfSense to send both firewall and DHCP logs to InsightIDR. You must configure logging to a syslog server, or the InsightIDR collector.
You must configure InsightIDR as a remote syslog server so it can ingest the firewall logs from pfSense.
To do so:
- Sign in to your pfSense interface.
- From the top menu, select Status > System Logs and then choose the Settings tab on the right.
- Scroll down to the “Remote Logging Options” section.
- Check the Enable Remote Logging check box.
- Select the IP protocol you want to use.
- Enter the IP address and unique port of the InsightIDR Collector. For example,
- In the “Remote Logging Contents” section, check on the Everything check box.
- Click the Save button to finish the configuration.
Configure the pfSense Event Source
Now you must configure the firewall event source in InsightIDR so the Collector can ingest the logs.
To do so:
- From your dashboard, select Data Collection on the left hand menu.
- When the Data Collection page appears, click the Setup Event Source dropdown and choose Add Event Source.
- From the “Security Data” section, click the Firewall icon. The “Add Event Source” panel appears.
- Choose your collector and event source. You can also name your event source if you want.
- Choose the timezone that matches the location of your event source logs.
- Optionally choose to send unfiltered logs.
- Configure your default domain and any advanced settings.
- Select Syslog as your data collection method and specify a port and a protocol.
- Optionally choose to encrypt the event source if choosing TCP by downloading the Rapid7 Certificate.
- Click the Save button.