使用linux的ip6tables-restore命令还原ip6tables表
这篇文章主要介绍使用linux的ip6tables-restore命令还原ip6tables表,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
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
以上是使用linux的ip6tables-restore命令还原ip6tables表的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注行业资讯频道!