木头虫在家

  • 系统
  • 安全
  • 应用
  • 技术
木头虫在家
蜘蛛网
  1. 首页
  2. 运维
  3. 正文

iredmail服务器debian10系统服务器不能被ping改成允许ping

2021年1月14日 569点热度 0人点赞 0条评论

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了。

Views: 207
标签: debian iRedMail
最后更新:2021年1月14日

admin

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

COPYRIGHT © 2023 blog.qmun.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

浙ICP备11036795号