Restore the ip6tables table using the ip6tables-restore command of linux
This article mainly introduces the use of linux ip6tables-restore command to restore the ip6tables table, the article is very detailed, has a certain reference value, interested friends must read it!
The ip6tables-restore command is used to restore the ip6tables table.
Syntax format: ip6tables-restore [parameters]
Common parameters:
-c specifies that when restoring the iptables table, restore the values of the current packet counter and byte counter-t specifies the name of the table to restore
Reference example
Restore the iptables configuration:
[root@linuxcool ~] # ip6tables-restore < ip6tables.bak
Specifies that when restoring the iptables table, restore the values of the current packet counter and byte counter:
[root@linuxcool ~] # ip6tables-restore-c < ip6tables.bak
Specify the name of the table to restore:
[root@linuxcool ~] # ip6tables-restore-t filter.bak above is to restore all the contents of the ip6tables table using the ip6tables-restore command of linux. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!