一键清除Centos iptables 防火墙所有规则
原文:
https://blog.csdn.net/huangdou0204/article/details/48650367
iptables -t nat -F
iptables -t nat -X
iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -P OUTPUT ACCEPT
iptables -t mangle -F
iptables -t mangle -X
iptables -t mangle -P PREROUTING ACCEPT
iptables -t mangle -P INPUT ACCEPT
iptables -t mangle -P FORWARD ACCEPT
iptables -t mangle -P OUTPUT ACCEPT
iptables -t mangle -P POSTROUTING ACCEPT
iptables -F
iptables -X
iptables -P FORWARD ACCEPT
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t raw -F
iptables -t raw -X
iptables -t raw -P PREROUTING ACCEPT
iptables -t raw -P OUTPUT ACCEPT
相关推荐
xiaohouye 2020-06-28
Aveiox 2020-06-25
clamzxf 2020-06-16
linuxalienyan 2020-06-11
Proudoffaith 2020-05-30
老谢的自留地 2020-05-29
yshlovelx 2020-05-27
Zhangdragonfly 2020-05-17
summerinsist 2020-08-21
Wepe0 2020-10-30
Lostinthewoods 2020-10-29
hickwu 2020-10-23
focusforce 2020-10-10
winki 2020-08-19
89284553 2020-07-17
大老张学编程 2020-07-04
lizhengfa 2020-06-26