openEuler 2203 的防火墙BUG
firewalld 后端配置为 iptables ,重新加载配置之后,整个系统网络连接就不正常了。
配置文件: /etc/firewalld/firewalld.conf
# FirewallBackend
# Selects the firewall backend implementation.
# Choices are:
# - nftables (default)
# - iptables (iptables, ip6tables, ebtables and ipset)
# Note: The iptables backend is deprecated. It will be removed in a future
# release.
FirewallBackend=nftables
FirewallBackend=nftables 修改为 FirewallBackend=iptables 保存、退出。
firewall-cmd --reload 之后。
整个系统网关功能就 GG了。 连不上服务器。
而且 ping 127.0.0.1 也失败。
[root@localhost ~]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted