相关疑难解决方法(0)

为什么不阻止ICMP?

我想我几乎在 CentOS 5.3 系统上完成了 iptables 设置。这是我的脚本...

# Establish a clean slate
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F # Flush all rules
iptables -X # Delete all chains

# Disable routing. Drop packets if they reach the end of the chain.
iptables -P FORWARD DROP

# Drop all packets with a bad state
iptables -A INPUT -m state --state INVALID -j DROP
# Accept any packets that have something to do with ones …
Run Code Online (Sandbox Code Playgroud)

security linux firewall iptables icmp

55
推荐指数
6
解决办法
4万
查看次数

标签 统计

firewall ×1

icmp ×1

iptables ×1

linux ×1

security ×1