iptables

iptables -L
iptables -S
  • drop
    iptables -L --line-numbers
    iptables -D INPUT <number>

import / export

see guide

iptables-save > filename
iptables-restore < filename