Posted By

alemani on 04/26/10


Tagged

clear rules iptables


Versions (?)

Clear all iptables rules


 / Published in: Bash
 

  1. iptables -F
  2. iptables -X
  3. iptables -t nat -F
  4. iptables -t nat -X
  5. iptables -t mangle -F
  6. iptables -t mangle -X
  7. iptables -P INPUT ACCEPT
  8. iptables -P FORWARD ACCEPT
  9. iptables -P OUTPUT ACCEPT

Report this snippet  

You need to login to post a comment.