iredmail服务器,debian10系统服务器不能被ping,自己ping别人正常。上网也正常。但别人ping服务器自己不通。
修改配置文件允许ping
vi /etc/nftables.conf
ip6 nexthdr icmpv6 icmpv6 type { echo-request, destination-unreachable, packet-too-big, time-exceeded, parameter-problem, mld-listener-query, mld-listener-report, mld-listener-reduction, nd-router-solicit, nd-router-advert, nd-neighbor-solicit, nd-neighbor-advert, ind-neighbor-solicit, ind-neighbor-advert, mld2-listener-report } accept |
ip protocol icmp icmp type { echo-request, destination-unreachable, router-solicitation, router-advertisement, time-exceeded, parameter-problem } accept |
注意加粗的地方自己添加上,然后重启一下就可以ping了。