title: How to make all outgoing RST drop
body: <p>I am trying to drop all the outgoing RST and incoming RST on all ports. I am using Debian linux. I tried all possible combinations of commands listed on the internet but nothing seems to work.</p>
  
  <p>For example, i tried:  </p>
  
  <pre><code>iptables -A OUTPUT -o eth0 -p tcp --tcp-flags RST RST -j DROP  
  iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP
  iptables -A INPUT -p tcp --tcp-flags RST RST -m state --state RELATED,ESTABLISHED -j DROP  
  iptables -A INPUT -p tcp --tcp-flags RST RST -j DROP  
  </code></pre>
  
  <p>Still i am seeing RST packets being sent by the kernel and also receiving RST packets. Please try to resolve this issue</p>