Can't ping the private ip of my ec2 instance

0

I have setup a vpn connection from my SonicWall and setup an inbound ICMP secuirty group rule with echo request to allow ping from the external ip address of my sonicwall. In my sonicwall I can see the pring request going out successfully, but I not getting any response. I am able to ping the public ip address of my instance without any issues. What am I missing?

質問済み 2ヶ月前238ビュー
1回答
0

Hello.

If there are no problems with the EC2 security group or subnet network ACL settings, I think there may be a routing problem.
Is there a communication route to the on-premises set in the subnet route table?
If it is set statically, please manually set the communication route in the route table.
https://docs.aws.amazon.com/vpn/latest/s2svpn/VPNRoutingTypes.html

If you are using BGP, try enabling propagated in your route table.
https://docs.aws.amazon.com/vpn/latest/s2svpn/SetUpVPNConnections.html#vpn-configure-route-tables

Will it be successful if I set the IP address restriction for ICMP communication to 0.0.0.0/0 etc. in the EC2 security group?
If it succeeds, there is a problem with the IP address range set in the security group.

profile picture
エキスパート
回答済み 2ヶ月前
  • I do have communication route to the On-Premises set int he subnet route table. Propagation is set for the virtual private gateway under the Route propagation tab.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ