摘要: 默认情况下,iptables-save会导出所有的表和链到标准输出中 $ iptables-save # Generated by iptables-save v1.4.21 on Mon Aug 8 10:51:28 2022 *nat :PREROUTING ACCEPT [264:21272] 阅读全文
posted @ 2022-08-08 18:55 cosmoswong 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 在centos7上,经常修改了iptables规则后,重启后规则就没了。有些地方使用使用 iptables-save,然而并无卵用; 正确的保存操作是 service iptables save $ service iptables save The service command supports 阅读全文
posted @ 2022-08-08 18:48 cosmoswong 阅读(1323) 评论(0) 推荐(0) 编辑