hey!
as a disclosure these are iptables and this setup is meant to help your ddos protected server perform better under ddos attack, not mitigate a ddos attack. This disclosure has ended.
The following is a conn limits:
iptables -t raw -A PREROUTING -m connlimit --connlimit-above 5 --connlimit-mask 24 -j DROP
this rule has questionable effectiveness of helping ur server , I do suggest as always play around with it however this rule is set to its minimum setting meaning any lower number than 5 you set wont allow traffic through or at least thats my experience. anyways as always I hope this helps, and I do plan to post more.
please remember this isnt a ddos mitigation method it just helps ur fivem server perform better under ddos attack. I DO SUGGEST USING THIS ON OVH.
-Mike
insta: MikeRHere