1
Beginner's Corner / Re: How do i secure my VPS for maximum protection?
« on: January 16, 2016, 04:11:54 am »
Allow what you need block everything else:
-A INPUT -s 66.66.66/32 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p udp -j DROP
-A INPUT -p tcp --syn -j DROP
-A INPUT -s 66.66.66/32 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p udp -j DROP
-A INPUT -p tcp --syn -j DROP