DDoS protection
Also called anti-DDoS, network mitigation
Network-level filtering that keeps a FiveM server reachable during denial-of-service attacks, mostly provided by the host or an upstream proxy.
A distributed denial-of-service attack floods a server with traffic until legitimate players cannot connect or are dropped. Popular FiveM servers get hit, often by people with a grudge against staff or a rival community, and the attacks are cheap to buy.
Most protection happens before traffic reaches your machine. Good game hosts filter attacks at their network edge, with rules tuned for game traffic. FiveM uses port 30120 by default on both UDP and TCP, and generic web-focused filtering that does not understand UDP game traffic either lets attacks through or drops real players. When choosing a host, ask specifically how they handle UDP floods for FiveM, not just whether they offer "DDoS protection".
On the server side, a few things help:
- Hide the real IP. Distribute your join link instead of an IP. Setting
sv_endpointPrivacy truekeeps player IP addresses out of the server's public player data. If your server IP has been public for a long time, moving to a new address behind protection is often the only clean fix. - Separate services. Your website, database and txAdmin panel should not share an exposed IP with the game server where avoidable.
- Restrict admin ports. txAdmin, SSH and the database should be firewalled to known addresses.
When an attack happens, keep players informed in Discord rather than going silent, and collect timestamps for the host. Attacks that coincide with bans or staff decisions are worth noting, since they often come from the same small group.
Related terms
Trying to get your server seen?
The live leaderboard shows what the numbers look like at the top of the list, and the upvote calculator turns a target server into a campaign size. The full glossary is here.