Clear all iptables rules


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.