Enasd
Enasd

Reputation: 41

can't ping my instance private IP from other instance in the same VPC

I have two instances and both of them are on same subnet and same VPC, one of the instances is openvpn when I'm connected to VPN and try to ping the other instance (10.x.x.x) I dont get response although it is reachable through the public IP address.

I enabled all traffic for all sources on both security groups and Network ACLs for both instances.

can anyone help me with this?

Upvotes: 2

Views: 3497

Answers (2)

Arjun Goel
Arjun Goel

Reputation: 27

I was experiencing the same issue but adding the ALL ICMP Inbound Rule to the Security Group of both OpenVPN server and Private server has resolved the issue and now the packet loss is not happening like before. You can refer to the screenshot attached.Inbound Rule Security Group

Upvotes: 0

sean
sean

Reputation: 539

I was facing the same issue. Modifying the security group with an additional inbound rule of "ALL ICMP" fixed it to me. Custom ICMP with echo reply, is not sufficient. You have to go with ALL ICMP.

Upvotes: 3

Related Questions