DDoS Detection for pfSense
Turn your pfSense firewall into a DDoS detection sensor. Export NetFlow to Flowtriq's agent for real-time attack classification, automated mitigation, and instant alerts across all your notification channels.
How It Works
Setup
Three steps to DDoS protection
Install ftagent
Install ftagent on any Linux server on your network. A VM, container, or bare-metal box all work. One command to install:
curl -sL https://get.flowtriq.com | sudo bash
Configure pfSense
Install the softflowd package via System > Package Manager. Then configure it under Services > softflowd: set the target to your ftagent host IP and port.
See attacks in your dashboard
Within minutes, traffic data appears in Flowtriq. Baselines build automatically. Attacks are detected, classified, and trigger your configured alert channels and mitigation policies.
Capabilities
What you get with this integration
Real-Time Attack Detection
Flowtriq analyzes NetFlow data from your pfSense to detect volumetric DDoS attacks in real time. Dynamic baselines learn your normal traffic patterns and alert on anomalies.
Attack Classification
Every detected attack is classified into one of 7+ families: SYN floods, UDP amplification, DNS reflection, NTP monlist, ICMP floods, GRE floods, and fragmentation attacks. Each classification includes protocol-level confidence scores.
Automated Mitigation
Configure 4-level auto-escalation: start with local firewall rules, escalate to BGP FlowSpec, then RTBH blackholes, then cloud scrubbing. All triggered automatically based on attack severity.
Multi-Channel Alerting
Get notified instantly via Discord, Slack, PagerDuty, OpsGenie, email, SMS, or webhooks. Alert messages include attack type, target IP, traffic volume, and recommended actions.
Incident History
Every attack is logged with full timeline, traffic charts, and classification details. Review past incidents, compare attack patterns, and track trends over time.
Traffic Analytics
Visualize your traffic patterns with per-protocol breakdown, top talkers, bandwidth utilization, and PPS charts. All built from the NetFlow data your pfSense is already exporting.
Expectations
NetFlow integration vs direct agent install
The pfSense integration gives you full DDoS detection with some tradeoffs compared to installing ftagent directly on a server.
What you get
- Real-time volumetric DDoS detection
- Full attack classification (7+ families)
- Automated mitigation via BGP FlowSpec, RTBH, and cloud scrubbing
- Multi-channel alerting (Discord, Slack, PagerDuty, and more)
- Traffic analytics and incident history
- Network-wide visibility from your gateway
What you trade off
- No PCAP packet captures for forensic analysis
- 15-60 seconds additional detection latency
- No per-packet payload inspection
- No on-host firewall rule deployment on pfSense itself
For sub-second detection and PCAP evidence, install ftagent directly on your critical servers in addition to the pfSense integration.
Protect your pfSense network today
Real-time DDoS detection and automated mitigation starting at $9.99/node/month. Free 14-day trial with no credit card required.
FAQ