scripts-root/iptables/del_rule

4 lines
118 B
Plaintext

# check line number of the rule you want to delete with
iptables -L --line-numbers [-t nat]
iptables -D $CHAIN $LINE