Published: Tue 03 October 2017
By Jon M

In misc.

Show all iptables rules and include line numbers

iptables -L INPUT --line-numbers

Replace iptables rule at a specific line number

iptables -R X INPUT <new rule here>

social