title: delete all rules from iptables
body: <p>I'm make a shell script have some rules to limit connection on port
  Then it's effect badly on my vps</p>
  
  <p>Script :</p>
  
  <pre><code>#!/bin/bash
  # Window of time in seconds
  SECS=60
  # Max connections per IP
  MAXCONN=5
  iptables -A INPUT -p tcp --syn --dport 5222 -m state --state NEW -m recent --set
  iptables -A INPUT -p tcp --syn --dport 5222 -m state --state NEW -m recent --update --seconds ${SECS} --hitcount ${MAXCONN} -j REJECT
  iptables -A INPUT -p tcp --syn --dport 5223 -m state --state NEW -m recent --set
  iptables -A INPUT -p tcp --syn --dport 5223 -m state --state NEW -m recent --update --seconds ${SECS} --hitcount ${MAXCONN} -j REJECT
  iptables -A INPUT -p tcp --syn --dport 5224 -m state --state NEW -m recent --set
  iptables -A INPUT -p tcp --syn --dport 5224 -m state --state NEW -m recent --update --seconds ${SECS} --hitcount ${MAXCONN} -j REJECT
  </code></pre>
  
  <p>And I need to remove all this rules</p>
  
  <p>How can I do this?</p>