首先,我的服务器上没有使用 IPv6,并且 IPv6 已被禁用。
但是,如果我运行firewall-cmd --list-all-policies
,我可以看到有一个名为的默认策略allow-host-ipv6
。
它到底起什么作用?我也不知道这个策略是怎么来的。我确定这个/etc/firewalld/policies/
目录是空的。我该怎么把它删掉?
# firewall-cmd --list-all-policies
allow-host-ipv6 (active)
priority: -15000
target: CONTINUE
ingress-zones: ANY
egress-zones: HOST
services:
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv6" icmp-type name="neighbour-advertisement" accept
rule family="ipv6" icmp-type name="neighbour-solicitation" accept
rule family="ipv6" icmp-type name="router-advertisement" accept
rule family="ipv6" icmp-type name="redirect" accept