Skip to content

Instantly share code, notes, and snippets.

@Calvin-Huang
Calvin-Huang / iptables
Created March 30, 2018 03:03
Minecraft Anti-DDoS iptables configuration
*raw
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A PREROUTING -p tcp -m tcp --dport 25565 -j CT --notrack
COMMIT
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
@Calvin-Huang
Calvin-Huang / ddos-mitigation-notes.md
Created March 30, 2018 02:48 — forked from shikendon/ddos-mitigation-notes.md
Best Practices for DDoS Protection and Mitigation on Linux