找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索本站精品资源

首页 教程频道 linux命令 系统管理 查看内容

ip6tables-restore命令 - 还原ip6tables表

作者:模板之家 2020-6-9 10:54 842人关注

ip6tables-restore命令用来还原ip6tables表。语法格式:ip6tables-restore 常用参数:-c 指定在还原iptables表时候,还原当前的数据包计数器和字节计数器的值 -t 指定要还原表的名称 参考实例还原iptables配

ip6tables-restore命令用来还原ip6tables表。

语法格式:ip6tables-restore [参数]

常用参数:

-c 指定在还原iptables表时候,还原当前的数据包计数器和字节计数器的值
-t 指定要还原表的名称

参考实例

还原iptables配置:

[root@linuxcool ~]# ip6tables-restore < ip6tables.bak

指定在还原iptables表时候,还原当前的数据包计数器和字节计数器的值:

[root@linuxcool ~]# ip6tables-restore -c < ip6tables.bak 

指定要还原表的名称:

[root@linuxcool ~]# ip6tables-restore -t filter.bak 

路过

雷人

握手

鲜花

鸡蛋
原作者: 模板之家 来自: www.mb5.com.cn