Changes

Jump to navigation Jump to search
no edit summary
Line 73: Line 73:  
===  iptables to block an access to a specific website ===
 
===  iptables to block an access to a specific website ===
 
  iptables -A INPUT -s facebook.com -p tcp --sport www -j DROP
 
  iptables -A INPUT -s facebook.com -p tcp --sport www -j DROP
 +
 +
=== Prevent DoS Attack ===
 +
iptables -A INPUT -p tcp --dport 80 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT
    
=== More rules ===
 
=== More rules ===
 
http://www.thegeekstuff.com/2011/06/iptables-rules-examples/
 
http://www.thegeekstuff.com/2011/06/iptables-rules-examples/

Navigation menu