iptables -L -n | grep DROP | awk '{print "iptables -D INPUT -s ",$4,"-j DROP"}' | sh
# There may be a way to flush all rules without specifying all ip addresses
# ie delete all DROP rules from the input chain.
# There may be a way to flush all rules without specifying all ip addresses
# ie delete all DROP rules from the input chain.
No comments:
Post a Comment