Integration Tool
pfSense DDoS Protection Setup
Generate the complete configuration to connect pfSense NetFlow export to Flowtriq's ftagent for real-time DDoS detection, attack classification, and automated mitigation.
pfSense + Flowtriq Architecture
pfSense (Your Firewall)
pfSense inspects every packet crossing your WAN interface. With softflowd installed, it generates NetFlow records summarizing each connection: source IP, destination IP, ports, protocol, byte counts, and timestamps. These records are exported via UDP to your ftagent host.
ftagent (Linux Host)
ftagent's built-in flow collector receives NetFlow exports and builds a real-time traffic profile. It detects volumetric anomalies, classifies attack types across 7+ families, and triggers automated mitigation. No additional flow collectors or databases required.
Flowtriq Dashboard
All detection events, attack classifications, traffic analytics, and incident history are available in the Flowtriq web dashboard. Configure alert channels (Discord, Slack, PagerDuty, email) and mitigation policies from a single pane of glass.
Detection Speed
NetFlow-based detection typically adds 15 to 60 seconds of latency depending on softflowd's export interval. This is fast enough for most volumetric DDoS attacks. For sub-second detection on critical servers, install ftagent directly on the host alongside local packet capture.
What You Get
Real-Time Detection
Automatic detection of volumetric DDoS attacks based on traffic anomalies. Dynamic baselines adapt to your normal traffic patterns over time.
Attack Classification
Identifies SYN floods, UDP amplification, DNS reflection, NTP monlist, ICMP floods, GRE floods, and fragmentation attacks with protocol-level detail.
Instant Alerts
Get notified the moment an attack starts via Discord, Slack, PagerDuty, OpsGenie, email, SMS, or webhooks. Include attack details and recommended actions.
Automated Mitigation
Auto-deploy iptables rules, BGP FlowSpec announcements, RTBH blackholes, or cloud scrubbing policies when attacks exceed your configured thresholds.
NetFlow vs Local Capture: What You Trade Off
No PCAP Evidence
NetFlow provides flow summaries, not raw packets. You will not get packet captures or payload analysis. If you need PCAP forensics for incident response, install ftagent directly on the server being protected.
Higher Detection Latency
Expect 15 to 60 seconds of added latency compared to local capture. Softflowd aggregates flows before exporting them. You can reduce the export interval in softflowd settings, but shorter intervals increase CPU usage on pfSense.
Protect your pfSense network with Flowtriq
Real-time DDoS detection and automated mitigation starting at $9.99/node/month. Free 14-day trial, no credit card required.
Start your free trial → Read the full integration guide →FAQ