如何正确的使用 Linux 中常用的 iptables - restore 命令
发布时间:2023-09-12 14:55:24 所属栏目:Linux 来源:
导读:Linux常用命令iptables-restore命令用来还原iptables-save命令所备份的iptables配置,下面为大家分享一下Linux常用命令iptables-restore命令具体使用方法。
命令格式
格式:iptables-restore [选项] [参数]
命令格式
格式:iptables-restore [选项] [参数]
Linux常用命令iptables-restore命令用来还原iptables-save命令所备份的iptables配置,下面为大家分享一下Linux常用命令iptables-restore命令具体使用方法。 命令格式 格式:iptables-restore [选项] [参数] 常用选项 -c 指定在还原iptables表时候,还原当前的数据包计数器和字节计数器的值 -t 指定要还原表的名称 参考示例 还原iptables配置 [root@localhost ~]# iptables-restore 指定在还原iptables表时候,还原当前的数据包计数器和字节计数器的值 [root@localhost ~]# iptables-restore -c 指定要还原表的名称 [root@localhost ~]# iptables-restore -t filter.bak [root@localhost ~]# (编辑:聊城站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐