I have setup openvpn successfully on aws ec2 instance, I can connect using route53 private dns (ssh, ..etc) but I can't use private dns for http/https.

e.g: I have an instance that open up http on port 25000, its private dns named: test.abc.def I can ssh to test.abc.def, I can use test.abc.def as name to connect to mongodb installed under it (for e.g) but I can't use test.abc.def:25000, even in "incognito" mode of browser, it shows "Your connection was interrupted"

I can use private ip address to access, e.g: but can't with dns test.abc.def:25000

so why I can ssh via private dns name but I can't http/https?

  • Your post is a little confusing. Are you saying from a remote machine you can use a domain name set up in a private R53 hosted zone for SSH, but you can't for http? Suggest you edit your question to clarify, and give us the big picture of what you're trying to do rather than "I tried this and it failed" – Tim Mar 19 '20 at 19:12

I'm guessing that you are trying access test.abc.def:25000/admin or GUI to set up the VPN.

What exactly happens when you try https in the browser? if its like "untrusted connection .. advanced" then all you need to do is click accept the self signed certificate that openvpn created

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.