Connection timeout to certain addresses when using the Client VPN.

0

Hello, I've been trying to set up a client VPN (with openvpn). I've taken the time to understand everything, set up the Endpoint, routes, authorization rules and security groups.

When connected to the VPN, I can ping the EC2 instance in my subnet, and I can access google.com and query it which means internet seems to work just fine.

However, when trying to access AWS, youtube or almost anything really, I have a connection timeout.

I've tried to look into logs (they only log the connection initialization and the connection termination), DNS issues (as of now I think it might be the most likeky), security groups (enabled 0.0.0.0/0 inbound and outbound traffic everywhere to try if that was my issue), authorization rules and more.

I don't think this has anything to do with how I configured my VPN as if it was, I wouldn't have any access to the internet, however I do to a certain extent.

I haven't set up any DNS server for my Client VPN Endpoint if that can help,

thanks.

1 個回答
0

A good place to start would be to test whether DNS resolution is working for the other internet destinations that are not working. While connected to the CVPN endpoint you can run the commands below on either Linux or windows respectively:

Linux --> sudo dig <internet destination>

Or

Windows --> nslookup <internet destination>

That being said, the recommendation is to set up DNS servers for the CVPN endpoint. For instance you can use the VPC + 2 DNS resolver (VPC CIDR +2 address)

profile pictureAWS
專家
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南