cant connect to access server from domain

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
vaalealager
OpenVpn Newbie
Posts: 8
Joined: Fri Mar 25, 2022 7:43 pm

cant connect to access server from domain

Post by vaalealager » Mon Mar 28, 2022 10:00 pm

If i give access server (Hostname or IP Address ) my puplic IP i can connect from outside web, everything works.
When i give it my FQDN it doesnt connect anymore (using local server ip works for log in webui) no outside connection.

What can i do?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: cant connect to access server from domain

Post by openvpn_inc » Tue Mar 29, 2022 8:45 am

Hello vaalealager,

Looks like the FQDN doesn't resolve correctly then. Fix that and things should work.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

vaalealager
OpenVpn Newbie
Posts: 8
Joined: Fri Mar 25, 2022 7:43 pm

Re: cant connect to access server from domain

Post by vaalealager » Tue Mar 29, 2022 9:42 pm

I have set it as A record, then example vpn.something.com and given it my puplic ip.
Port forward has been done also.

Followed the instructions from the openvpn.

When i give my server in network settings a hostname vpn.something.com i cant connect to it (lan works), puplic ip as hostname gives me connection.

Access server is on a virtual machine, bridged connection.

Im trying to figure out if the problem is in DNS or if im doing something wrong in the access server.

Thank you for your help.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: cant connect to access server from domain

Post by openvpn_inc » Wed Mar 30, 2022 11:29 am

Hello vaalealagar,

If connecting with the public IP works, but connecting with the hostname doesn't work, the problem is almost certainly that the hostname is not resolving correctly to the public IP. Try resolving it yourself. Try looking in the logs what it resolves to, and compare that to the expected public IP.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

vaalealager
OpenVpn Newbie
Posts: 8
Joined: Fri Mar 25, 2022 7:43 pm

Re: cant connect to access server from domain

Post by vaalealager » Wed Mar 30, 2022 7:06 pm

Thank you Johan

Post Reply