mohammad alsharqi
Hi everyone,
I'm new with openvpn and i've created vpn server through vmware, currently when i put my server ip it be accessible but when i replace it with hostname i got error of DNS lookup failed on host.
How i make it puplic so i can access to my vpn server anywhere?
thanks
The Johan
Hello mohammad,
The DNS record must resolve to the public IP of your server. So if you get a DNS lookup failure it means the DNS record could not be resolved. Fix that and things should work. You can't just 'make up' a DNS record, you have to register it with some public instance like some domain registration company or dynamic DNS system.
Kind regards,
Johan
mohammad alsharqi
is that available in openvpn cloud? if no? could you assist me with some examples
mohammad alsharqi
is that available in openvpn cloud? if no? could you assist me with some example
The Johan
Hello mohammad,
OpenVPN Cloud already by default works with a DNS hostname, you can't get it there without.
For domain registration you really have to talk to a company that does domain registration, and not us.
Kind regards,
Johan
mohammad alsharqi
Thanks too much for your help, i already got hostname and put it in server name field in openvpn server, it works well when i used it in the local network but the server not accessible when i try to connect through outside ?
openvpn_inc
Hello mohammad,
Then you need to make sure that whatever your domain name resolves to is a public IP and not a private IP. And ensure that the public IP opens and forwards the ports used for the VPN connection to your actual VPN server.
Kind regards,
Johan
mohammad alsharqi
Thanks Joham, I'm trying to change my private ip to puplic in virtual machine by adding command remote but i got command not found
openvpn_inc
Hello mohammad,
The 'remote' directive is a configuration directive in OpenVPN that instructs an OpenVPN client where to connect to. It does not allow you to change a virtual machine's IP address.
Kind regards,
Johan