Co robi IPTABLES-RESTORE użycie. Konsola iptables-restore takes commands generated by iptables-save.

Czy przydatne?

Polecenie iptables-restore

Wykonanie, użycie: 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

Opcje wykonania iptables-restore w konsoli

-c, --counters

Restore packet and byte counter values.

-n, --noflush

Don't delete previous table contents.

Przykłady iptables-restore działanie w Słownik polecenie I