Integration Tool
OPNsense DDoS Protection Setup
Generate the complete configuration to connect OPNsense's native NetFlow exporter to Flowtriq's ftagent for real-time DDoS detection, classification, and automated mitigation. No plugins needed
OPNsense + Flowtriq Architecture
OPNsense (Your Firewall)
OPNsense's built-in netflow daemon monitors packets crossing your selected interfaces and generates NetFlow v5 or v9 records. These records summarize each connection with source/destination IPs, ports, protocol, byte counts, and timing data. The exporter sends records via UDP to one or more capture targets.
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.
Multi-Target Export
OPNsense can export flows to multiple destinations at once. Send to ftagent for DDoS detection and simultaneously to ntopng, Elasticsearch, or any other NetFlow collector. Each target receives the same flow data independently.
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. The NetFlow exporter aggregates flows before sending. You can tune the active and inactive timeouts in OPNsense's NetFlow settings to reduce this.
Protect your OPNsense 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