Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS VPN Client Endpoint DNS resolution timeout with openVPN

I'm trying to create a AWS Client VPN endpoint. I followed this AWS tutorial and I always get a timeout error like this:

DNS resolution error: 30 times.

I'm not sure what to do, I saw some videos on this topic and it seems I did everything correctly, does anyone know how to debug this? (or what could be the cause)?

like image 687
AFortunato Avatar asked Nov 15 '25 10:11

AFortunato


1 Answers

This is really stupid. I tried to check IPs for my endpoint

host *.cvpn-endpoint-XXXX.prod.clientvpn.[region].amazonaws.com

and

host cvpn-endpoint-02aa72c3aa8d442d6.prod.clientvpn.eu-west-1.amazonaws.com

and both failed. As described in this response, you need to add a random subdomain. By adding this on the .ovpn file (on the remote parameter), it works!

like image 174
AFortunato Avatar answered Nov 18 '25 07:11

AFortunato



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!