OPNsense & pfSense NetFlow Export Configuration Guide
This guide explains how to configure OPNsense and pfSense firewalls to export flow telemetry to your FlowGuard Lite instance.
OPNsense Configuration
- Log in to your OPNsense Web GUI.
- Navigate to Interfaces -> Diagnostics -> NetFlow in the sidebar.
- In the NetFlow Settings panel:
- Listening Interfaces: Select the interfaces you wish to monitor (typically
LANandWAN). - WAN Interfaces: Select your
WANinterface (helps differentiate local vs. external traffic). - Capture Targets: Enter
<FLOWGUARD_LITE_IP>:2055(where<FLOWGUARD_LITE_IP>is the IP of your FlowGuard Lite host). - Version: Select
NetFlow v9orIPFIX.
- Listening Interfaces: Select the interfaces you wish to monitor (typically
- Click Save and Apply.
pfSense Configuration
Since pfSense does not include a native NetFlow exporter out of the box, we recommend installing the lightweight softflowd package.
- Log in to your pfSense Web GUI.
- Navigate to System -> Package Manager -> Available Packages.
- Search for softflowd and click Install.
- Once installed, navigate to Services -> softflowd.
- Configure the settings:
- Interface: Select the interfaces to capture flows on (e.g.
LAN). - Host: Enter your FlowGuard Lite host IP.
- Port:
2055 - NetFlow Version:
9 - Active Timeout:
60seconds - Inactive Timeout:
15seconds
- Interface: Select the interfaces to capture flows on (e.g.
- Click Save.
Validation
Navigate to your FlowGuard Lite Traffic Analysis dashboard. Your firewall’s IP address should appear in the Flow Exporters list, indicating telemetry has begun streaming.