DDoS detection and service port protection for Pterodactyl Panel, powered by Flowtriq. Automatically syncs game server ports, detects attacks, and deploys on-node firewall rules without manual configuration.
When a player creates a game server in Pterodactyl, this addon automatically:
- Detects the game's ports (primary + additional allocations) and protocol (TCP/UDP/both)
- Syncs them to Flowtriq as service ports so the agent knows what traffic is legitimate
- Monitors for DDoS attacks targeting those ports or anything else on the node
- Deploys firewall blocks against attack sources in real-time
- Shows attack status to server owners in their Pterodactyl panel
When a server is deleted or ports change, the addon updates Flowtriq automatically. Server owners never touch a firewall rule.
- Automatic port sync -- game server allocations are synced to Flowtriq service ports on create, update, and delete
- Protocol detection -- knows Minecraft is TCP, Rust is UDP, FiveM is both, etc. (20+ games preconfigured)
- System port protection -- Wings daemon (8080) and SFTP (2022) are always safelisted
- Two deployment modes:
per_wings-- one ftagent per Wings node, each mapped to its own Flowtriq node (recommended)central-- one ftagent on the panel server with all ports aggregated
- Admin panel -- configure API credentials, deployment mode, and node mappings from the Pterodactyl admin UI
- Server owner view -- players see DDoS status, active incidents, and protection status for their server
- Background jobs -- polls Flowtriq for node status and active incidents on configurable intervals
- Artisan commands --
flowtriq:install,flowtriq:sync,flowtriq:statusfor CLI management
- Pterodactyl Panel 1.11+ (Laravel 10/11)
- PHP 8.1+
- A Flowtriq account with the agent installed on your Wings node(s)
Download the latest release and extract into your Pterodactyl installation:
cd /var/www/pterodactyl
unzip flowtriq-pterodactyl-v1.0.0.zip -d .Install dependencies and register the addon:
composer require flowtriq/pterodactyl-addon
php artisan migrate
php artisan flowtriq:installThe install command will prompt for your Flowtriq API URL and deploy token (found in Flowtriq > Settings > API).
FLOWTRIQ_API_URL=https://flowtriq.com
FLOWTRIQ_DEPLOY_TOKEN=your-deploy-token
FLOWTRIQ_MODE=per_wingsAfter installation, go to Admin > Flowtriq to:
- Set API credentials
- Choose deployment mode
- Map Wings nodes to Flowtriq nodes
- Configure service port sensitivity and response mode
Publish the config for full control:
php artisan vendor:publish --tag=flowtriq-configSee config/flowtriq.php for all options including protocol detection maps, system ports, and polling intervals.
The addon automatically detects game protocols from Pterodactyl egg names:
| Game | Protocol | Game | Protocol |
|---|---|---|---|
| Minecraft (Java) | TCP | Rust | UDP |
| Minecraft (Bedrock) | UDP | ARK | UDP |
| FiveM / RedM | Both | CS2 / CSGO | Both |
| Garry's Mod | UDP | Valheim | UDP |
| Terraria | TCP | Palworld | UDP |
| TeamSpeak | UDP | Squad | UDP |
Games not in the list default to both (TCP + UDP). You can extend the map in config/flowtriq.php.
# Interactive setup wizard
php artisan flowtriq:install
# Sync all server allocations to Flowtriq
php artisan flowtriq:sync
# Check connection and node status
php artisan flowtriq:statusPlayer creates server in Pterodactyl
|
v
AllocationObserver fires
|
v
ServicePortSyncService collects:
- Primary port + all additional allocations
- Egg name -> protocol detection
- System ports (Wings 8080, SFTP 2022)
|
v
FlowtriqApiClient PATCH /nodes/{uuid}
-> Updates service_ports on the Flowtriq node
|
v
ftagent picks up new config within 5 minutes
-> Installs iptables accounting chains
-> Only traffic to registered ports is "service"
-> Everything else classified as non-service
-> Threshold crossing triggers detection + blocking
- Documentation: flowtriq.com/docs
- Issues: github.com/Flowtriq/flowtriq-pterodactyl/issues
- Email: support@flowtriq.com
- Discord: discord.gg/SsTWMYuyGG
Start your free 14-day trial at flowtriq.com/signup.
Proprietary. See LICENSE for details.
Built by Flowtriq - Real-time DDoS detection and mitigation.