I'm facing a critical issue during attacks on my server. The symptoms are very specific, and I'm hoping to get some guidance on how to mitigate them.
The Problem:
During an attack, all players experience severe lag simultaneously.
They receive repeating "Network Trouble" messages, making the server unplayable.
In the server console header, the FPS counter sometimes shows an abnormal value like 200 fps (1) during the attack. The 200 varies, but the (1) in parentheses remains constant.
The server itself doesn't crash, but it becomes completely unresponsive to players.
My Questions:
Based on these symptoms, is this likely a UDP Flood on the game port (22003) or the query port (22126)?
What are the most effective server-side rate limiting rules (using iptables or nftables) to protect these ports without blocking legitimate players?
Are there any specific MTA settings in mtaserver.conf (like httpdownloadurl or query port settings) that can reduce the attack surface?
Important Context: I am hosting from Iran, where internet access is highly unstable and can become completely isolated. This makes using services like Cloudflare impossible (Cloudflare does not protect UDP game traffic anyway). I need solutions that can be implemented on the server itself or through Iranian hosting providers with built-in DDoS protection.
Any help or guidance would be greatly appreciated. Thank you.
Question
Its_Solar
Hello MTA Community,
I'm facing a critical issue during attacks on my server. The symptoms are very specific, and I'm hoping to get some guidance on how to mitigate them.
The Problem:
During an attack, all players experience severe lag simultaneously.
They receive repeating "Network Trouble" messages, making the server unplayable.
In the server console header, the FPS counter sometimes shows an abnormal value like
200 fps (1)during the attack. The200varies, but the(1)in parentheses remains constant.The server itself doesn't crash, but it becomes completely unresponsive to players.
My Questions:
Based on these symptoms, is this likely a UDP Flood on the game port (22003) or the query port (22126)?
What are the most effective server-side rate limiting rules (using
iptablesornftables) to protect these ports without blocking legitimate players?Are there any specific MTA settings in
mtaserver.conf(likehttpdownloadurlor query port settings) that can reduce the attack surface?Important Context:
I am hosting from Iran, where internet access is highly unstable and can become completely isolated. This makes using services like Cloudflare impossible (Cloudflare does not protect UDP game traffic anyway). I need solutions that can be implemented on the server itself or through Iranian hosting providers with built-in DDoS protection.
Any help or guidance would be greatly appreciated. Thank you.
Edited by Its_Solar3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now