尽管有安全组设置,AWS 实例仍不接受 ping
我们在 AWS 中启动了一台服务器,当尝试 ping 其公共 IP 时,ping 请求超时。
我创建了一个安全组来启用端口 22,启用带有 echo 请求的 ICMP 流量,并验证其他安全组配置是否有效。没有运气超时。
我认为必须有一个父设置阻止所有 ICMP,无论实例设置如何 - 主帐户上的某些设置。
有人有想法吗?
We spun up a server in AWS and when attempting to ping its public IP, the ping request times out.
I have created a security group to enable port 22, enabled ICMP traffic with echo request, and verified that other security group configurations will work. No luck- pings time out.
I'm thinking there has to be a parent setting somewhere that's blocking all ICMP regardless of instance settings- something on the main account.
Anyone have ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
谢谢大家 - 这是 Windows 防火墙自动阻止 ICMP 流量 - 取消了这个限制,一切正常。
很高兴知道 - 此票证的未来查看者,如果您的实例是 Windows - 需要在 AWS 安全组中启用 ICMP 并放置在实例上,并且您需要登录到实例本身并配置 Windows 防火墙以允许 ICMP 流量。
Thanks guys- it was the Windows firewall auto blocking ICMP traffic- took off this restriction and things worked fine.
Good to know- future viewers of this ticket, if your instance is Windows- ICMP needs to be enabled in AWS security groups and put on Instance, AND you need to log into the instance itself and configure the Windows firewall to allow ICMP traffic.