Page 1 of 1
cant connect to access server from domain
Posted: Mon Mar 28, 2022 10:00 pm
by vaalealager
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?
Re: cant connect to access server from domain
Posted: Tue Mar 29, 2022 8:45 am
by openvpn_inc
Hello vaalealager,
Looks like the FQDN doesn't resolve correctly then. Fix that and things should work.
Kind regards,
Johan
Re: cant connect to access server from domain
Posted: Tue Mar 29, 2022 9:42 pm
by vaalealager
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.
Re: cant connect to access server from domain
Posted: Wed Mar 30, 2022 11:29 am
by openvpn_inc
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
Re: cant connect to access server from domain
Posted: Wed Mar 30, 2022 7:06 pm
by vaalealager
Thank you Johan