Get the App
SLTechnology News&Howtos  ›  Servers  › 

Restore the ip6tables table using the ip6tables-restore command of linux

Shulou Source: shulou.com Published: 2022-06-02 15:24:18 10月04日 Update

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!

Tags: Counter command content parameter name byte data time reference value interest instance boy buddy common use more format knowledge article industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi NVidia Shulou Tech Info macOS Shulou Information