Use domain name not IP with Connect Client and Access Server

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Locked
vpn1
OpenVpn Newbie
Posts: 1
Joined: Mon Sep 23, 2013 1:09 pm

Use domain name not IP with Connect Client and Access Server

Post by vpn1 » Mon Sep 23, 2013 1:25 pm

I installed OpenVPN on Linux. I want to connect to it from Windows clients using the "Connect Client" that allows users to connect through the web interface. Everything works but the users have to navigate to https://111.111.111.111:xxx, I would like to configure a domain name so that I can tell my users to connect to https://vpn.mydomain.com:xxx instead.

I have found this guide on this site which shows exactly what I want, as you can see the user navigates to https://demo.openvpncloud.net instead of an IP address. The guide is here:
http://openvpn.net/index.php/access-ser ... lient.html

On the access server control panel (https://111.111.111.111:xxx/admin), I have changed the IP to my subdomain in the "Hostname or IP Address:" field. I then restarted the server.

When I try to navigate using the domain (https://vpn.mydomain.com:xxx), the OpenVPN login screen shows but when I login, it doesn't detect the Connect Client software (which I have installed), it always tells me to download the Connect Client. If I switch to the IP address instead of domain, it detects the client and everything works.

Also, if I avoid using the web based login, and connect directly using the Connect Client in Windows, it connects to the VPN no problem, and even shows the domain when I right click the icon in the system tray (e.g. "Connect to vpn.mydomain.com").

I've noticed there is a "as.conf" file in the Connect Client directory, could this help? Please note I'm trying to use the Connect Client not the full Client software. Is there any configuration that I'm missing in order to connect using the Connect Client and the web based login?

Thanks

Locked