linux设置防火墙一直失败,centos7防火墙启动失败

在CentOS7系统中遇到firewalld无法启动的问题,日志显示关于IPv6的ICMP类型不被内核支持的警告,并且ip6tables和iptables-restore命令执行失败。可能的原因包括:内核不支持某些IPv6 ICMP类型或ebtables扩展。解决方法可能涉及更新内核、重新编译或启用缺失的扩展。需要对Linux内核配置和网络防火墙规则有深入理解。
摘要由CSDN通过智能技术生成

centos7中firewalld启动失败

我不知道是不是哪里设置错了,导致使用命令

sudo systemctl start firewalld

无法启动

查看/var/log/firewalld日志显示如下

2018-04-03 14:36:13 WARNING: ICMP type 'beyond-scope' is not supported by the kernel for ipv6.

2018-04-03 14:36:13 WARNING: beyond-scope: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.

2018-04-03 14:36:13 WARNING: ICMP type 'failed-policy' is not supported by the kernel for ipv6.

2018-04-03 14:36:13 WARNING: failed-policy: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.

2018-04-03 14:36:13 WARNING: ICMP type 'reject-route' is not supported by the kernel for ipv6.

2018-04-03 14:36:13 WARNING: reject-route: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.

2018-04-03 14:36:13 WARNING: '/usr/sbin/ip6tables-restore --wait=2 -n' failed: ip6tables-restore: line 34 failed

2018-04-03 14:36:13 WARNING: '/usr/sbin/iptables-restore --wait=2 -n' failed: iptables-restore: line 34 failed

2018-04-03 14:36:13 WARNING: '/usr/sbin/ebtables-restore --noflush' failed: Unable to update the kernel. Two possible causes:

1. Multiple ebtables programs were executing simultaneously. The ebtables

userspace tool doesn't by default support multiple ebtables programs running

concurrently. The ebtables option --concurrent or a tool like flock can be

used to support concurrent scripts that update the ebtables kernel tables.

2. The kernel doesn't support a certain ebtables extension, consider

recompiling your kernel or insmod the extension.

.

2018-04-03 14:36:13 ERROR: COMMAND_FAILED

我该怎么设置,希望linux运维大佬帮忙!谢谢~

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值