- Newest
- Most votes
- Most comments
Hi Robbert
check these steps to resolve the issue Hope it helps:
No ping from OpenVPN client to EC2 instance despite replies from EC2. Issue likely routing related.
- Check OpenVPN config for routes and route pushing.
- Verify VPC route table for route to client subnet (192.168.2.0/24) via vgw-xxxxx.
- Ensure security groups allow ICMP traffic from client subnet.
- Use traceroute and check OpenVPN server logs for routing errors.
https://docs.aws.amazon.com/vpc/latest/userguide/RouteTables.html
- Temporarily disable the IPsec tunnel to isolate if it's causing any conflicts with routing.
- Try pinging another resource within the VPC from the OpenVPN client to see if the issue is specific to the EC2 instance.
For more follow the links
OpenVPN client configuration and routing: "https://openvpn.net/community-resources/setting-up-routing/" pushing routes "https://forums.openvpn.net/viewtopic.php?t=9055" VPC route tables: "https://docs.aws.amazon.com/vpc/latest/userguide/RouteTables.html"
Security groups and ICMP traffic:
"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html" Traceroute: "https://en.wikipedia.org/wiki/Traceroute" OpenVPN server logs: "https://askubuntu.com/questions/276664/where-are-the-openvpn-connection-logs-and-configuration-files"
Also ensure there is no NAT happening on the OpenVPN side.
yes some time Nat also should be enable
Relevant content
- asked 3 years ago
- asked 2 months ago

Please consider editing this so that it is readable. Note that you can format code or output from commands by putting a line before and after with three backticks on it.