简体   繁体   English

AWS EC2 实例能否在同一个 VPC 上 ping 客户端 VPN?

[英]Could AWS EC2 instances ping Client VPN on the same VPC?

I have a scenario where I have multiple Raspberry Pis connected to the Client VPN Endpoint and an EC2 instance on the same VPC.我有一个场景,我有多个 Raspberry Pi 连接到客户端 VPN 端点和同一 VPC 上的一个 EC2 实例。 I want to SSH into those Raspberry Pis by using the IP addresses that the VPN provided.我想通过使用 VPN 提供的 IP 地址将 SSH 插入到那些 Raspberry Pi 中。

I have a VPC with one subnet where I have one EC2 instance and a Client VPN endpoint on the same VPC.我有一个带有一个子网的 VPC,其中我有一个 EC2 实例和一个客户端 VPN 终端节点在同一个 VPC 上。 The Client VPN could ping the EC2 instance but the EC2 instance could not ping the Client VPN?客户端 VPN 可以 ping EC2 实例,但 EC2 实例无法 ping 客户端 VPN? Could AWS EC2 instances ping Client VPN on the same VPC? AWS EC2 实例能否在同一个 VPC 上 ping 客户端 VPN? If so, how could I achieve this?如果是这样,我怎么能做到这一点?

I went with a solution where I connected the EC2 to the Client VPN and I was able to communicate with the Raspberry Pis.我采用了一个解决方案,将 EC2 连接到客户端 VPN,并且能够与 Raspberry Pi 进行通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 同一VPC中两个公共EC2实例之间的AWS通信 - AWS communication between two public EC2 instances in same VPC AWS:如何将VPN客户端连接到RDS(VPN服务器EC2和RDS在同一VPC中) - AWS: How to connect VPN clients to RDS (VPN server EC2 and RDS are in the same VPC) 如何在 AWS 中 ping 在同一 vpc 同一子网但不同安全组中运行的 EC2 实例 - How to ping an EC2 instance running in the same vpc same subnet but different security group in AWS AWS Lambda无法ping通VPC中的EC2实例 - AWS Lambda unable to ping EC2 instance within VPC AWS - 无法 ping VPC 中私有子网上的 EC2 实例 - AWS - Cannot ping EC2 instance on private subnet in VPC 同一 VPC 中的 AWS EC2 实例是否使用公共 IP 通过互联网连接? - Do AWS EC2 instances in same VPC connect through internet using public IP? 不同vpc子网中的AWS EC2实例相互访问 - aws ec2 instances in different vpc subnets access each other 在 AWS EC2 VPC 中创建 n 个新实例,然后配置它们 - Creating n new instances in AWS EC2 VPC and then configuring them 将 VPC 中的 ec2 实例列入白名单 - Whitelisting ec2 instances in a VPC 在 AWS 中监控 Windows EC2 实例的服务器可访问性 (Ping) 和正常运行时间 - Monitoring Server Accessibility(Ping) and Uptime of Windows EC2 instances in AWS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM