Connecting to VPN remotely requires the public IP address...

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
doni49
OpenVPN User
Posts: 25
Joined: Fri Jun 14, 2013 1:58 pm

Connecting to VPN remotely requires the public IP address...

Post by doni49 » Sat Jun 22, 2013 3:14 pm

I have a FQDN pointing to my home IP address. But when I attempt to connect OpenVPN using that FQDN, I get the following message.
Sat Jun 22 10:01:45 2013 RESOLVE: Cannot resolve host address: RasPiHomeNAS.donireland.com: The requested name is valid, but no data of the requested type was found.
Sat Jun 22 10:01:45 2013 MANAGEMENT: >STATE:1371913305,RESOLVE,,,
Sat Jun 22 10:01:45 2013 RESOLVE: Cannot resolve host address: RasPiHomeNAS.donireland.com: The requested name is valid, but no data of the requested type was found.
Sat Jun 22 10:01:50 2013 RESOLVE: signal received during DNS resolution attempt
However, if I ping the FQDN, I DO get a reply which tells me the IP address. I can then have OpenVPN make the connection using that IP address.

What I don't understand is that the DNS is obviously able to provide the proper IP address for the FQDN. So why can't OpenVP use that info?

TIA!

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Connecting to VPN remotely requires the public IP addres

Post by maikcat » Sat Jun 22, 2013 4:22 pm

can you post your config?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

doni49
OpenVPN User
Posts: 25
Joined: Fri Jun 14, 2013 1:58 pm

Re: Connecting to VPN remotely requires the public IP addres

Post by doni49 » Sat Jun 22, 2013 9:11 pm

Thanks. But as I was gather the info so that I could post it for you, I found a typo.

Post Reply