I'm trying to find out a suitable rule for iptables for the three udp ports to rid DDoS attacks. I found this somewhere and was trying to edit it but I thought asking for help here would be a better idea as I needed to know the maximum packet lengths used by the emulator.
iptables -A INPUT -p udp --dport 5121 -m length --length 2401:65535 -j DROP
iptables -A INPUT -p udp --dport 6121 -m length --length 2401:65535 -j DROP
iptables -A INPUT -p udp --dport 6900 -m length --length 2401:65535 -j DROP
Question
Smoke
Hi,
I'm trying to find out a suitable rule for iptables for the three udp ports to rid DDoS attacks. I found this somewhere and was trying to edit it but I thought asking for help here would be a better idea as I needed to know the maximum packet lengths used by the emulator.
I'd really like some help with editing these.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.