Name
iptables-restore
Synopsis
iptables-restore [options
]
System administration command. Restore firewall rules from information provided on standard input. iptables-restore takes commands generated by iptables-save and uses them to restore the firewall rules for each chain. This is often used by initialization scripts to restore firewall settings on boot.
Options
- -c, --counters
Restore packet and byte counter values.
- -n, --noflush
Don’t delete previous table contents.
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.