• Home
  • easy way to remove iptables rules

easy way to remove iptables rules

January 28, 2014 Ning 0 Comments

here is easy way to remove iptables rules

iptables -L INPUT --line-numbers

output:

num  target     prot opt source               destination
1    fail2ban-SSH  tcp  --  anywhere             anywhere            tcp dpt:ssh

remove rule by num

iptables -D INPUT 1

leave a comment

*