Dump iptables rules
low risk
Prints current rules in restorable format — use to back up before changes.
iptables-save > /root/iptables.backupBack up rules · explain & risk-check →Reference text is hand-written and may be incomplete — check man iptables-save for your version. Test destructive commands on a non-production system first.