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 BSD log format
- 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 InsightIDR to collect data from the event source
After you complete the prerequisite steps and configure the event source to send data, you must add the event source in InsightIDR.
To configure the new event source in InsightIDR:
- From the left menu, go to Data Collection and click Setup Event Source > Add Event Source.
- Do one of the following:
- Search for pfSense Firewall in the event sources search bar.
- In the Product Type filter, select Firewall.
- Select the pfSense Firewall event source tile.
- 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 unparsed 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.