我能够通过 openvpn 从本地机器 ping 到 aws 内部 ip。但我无法从 aws ping 到本地机器 ip。如何实现这一点。
我的 Aws 有 openvpn 和客户端本地机器。
答案1
请检查 aws 实例的出站规则
如果没有打开,请为出站规则打开 ssh 端口。
答案2
您需要检查以下内容。
1. Make sure you opened Ping (ICMP) in the Security group(Inbound rule), if you are not enabled try to telnet with opened port, if the telnet is connected then VPN connection established.
2. Make sure you allowed required the traffic to the Local machine IP in the Security group.
3. Verify routes in the VPC route table.
4. check is there any IP conflict.
5. Is NACL blocking any traffic.