DDoS Detection for VyOS
VyOS is Debian-based, so you have a choice: install ftagent directly on the router for sub-second detection, or export NetFlow to an external host to keep the router lightweight. Both give you real-time DDoS detection, attack classification, and automated mitigation.
Deployment
Two ways to deploy
Direct Install
Install ftagent directly on VyOS. Because VyOS is Debian-based Linux, ftagent runs natively with no compatibility issues.
- Sub-second attack detection
- PCAP packet capture during attacks
- On-router iptables firewall rules
- No external server required
- Uses some router CPU and memory
NetFlow Export
Export NetFlow from VyOS to an external Linux host running ftagent. Keeps the router clean and offloads all analysis.
- Zero software installed on the router
- All processing on external host
- Built-in VyOS flow-accounting
- Supports NetFlow v5, v9, and IPFIX
- 15-60 second detection latency
- No PCAP capture from router
Architecture: Direct Install vs NetFlow
Setup
Get started in three steps
Choose your mode
Direct install for sub-second detection and PCAP captures. NetFlow export to keep VyOS lightweight. Use our config generator to get exact commands for either mode.
Install and configure
Direct: pip install ftagent && sudo ftagent --setup on VyOS.
NetFlow: Configure VyOS flow-accounting in CLI and install ftagent on your external Linux host.
See attacks in your dashboard
Traffic data appears in Flowtriq within minutes. Baselines build automatically. Attacks are detected, classified, and trigger your configured alert channels and mitigation policies.
Comparison
Direct install vs NetFlow export
| Feature | Direct Install | NetFlow Export |
|---|---|---|
| Detection latency | Under 1 second | 15-60 seconds |
| PCAP capture | Yes | No |
| On-router firewall rules | Yes (iptables) | External host only |
| Software on router | ftagent (Python, ~100 MB RAM) | None |
| External server needed | No | Yes (any Linux host) |
| Attack classification | Full (7+ families) | Full (7+ families) |
| BGP FlowSpec / RTBH | ||
| Best for | Routers under 1 Gbps | High-throughput or minimal-footprint |
Capabilities
What you get with this integration
Real-Time Attack Detection
Flowtriq detects volumetric DDoS attacks by analyzing traffic patterns on your VyOS router. Dynamic baselines learn your normal traffic and alert on anomalies.
Attack Classification
Every detected attack is classified: SYN floods, UDP amplification, DNS reflection, NTP monlist, ICMP floods, GRE floods, fragmentation attacks, and more.
BGP Mitigation
Trigger BGP FlowSpec rules or RTBH blackholes automatically when attacks are detected. Works with your existing BGP speakers and upstream providers.
Multi-Channel Alerting
Get notified instantly via Discord, Slack, PagerDuty, OpsGenie, email, SMS, or webhooks. Alert messages include attack type, target IP, and traffic volume.
Protect your VyOS 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