Edit iptables

iptables-save > iptables.txt
# Edit iptables.txt
iptables-restore < iptables.txt
Justmarije