VPN host name resolution issue

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
statho
Posts: 2
Joined: Thu Jul 28, 2016 3:26 pm

VPN host name resolution issue

Post by statho »

Hello,

My Buffalo WZR-HP-G300NH running Gargoyle 1.6.2 (Router 1) is configured as OpenVPN Server (10.4.0.1/172.16.10.1) and my TP-Link Archer C7 v2 running Gargoyle 1.9.1 (Router 2) is configured as OpenVPN client (10.4.0.14/192.168.0.1). The two routers are located at two different sites and I have a working OpenVPN tunnel setup over Internet between them. What I try to achive is to be able to access host connected to Router 1 from terminals behind Router 2 as well as all access to Internet should go through Router 1. I have gone through, I believe, most of the OpenVPN topics in this forum but have not found an answer to my particular problem.

Internet access through Router 1 is working fine as well as accessing all hosts connected to Router 1 by their IP-addresses.

However, using the statistic host name (static IP) assigned by Router 1 to access a particular host does not work for me. I have several services running on Router 1 LAN that are configured to be accessed by hostname and I am desperat to get this to work.

When setting up singular windows, mac or linux OpenVPN clients I have added "dhcp-option DNS 172.16.10.1" to my conf-file to make it work, but that did not work when setting up Router 2.

I hope there somebody can help me configure my routers to make this work.

Thanks in advance.
Last edited by statho on Sun Jul 31, 2016 5:10 am, edited 1 time in total.

statho
Posts: 2
Joined: Thu Jul 28, 2016 3:26 pm

Re: Subnet Access host name issue

Post by statho »

After setting up a PPTP VPN to the 172.16.10.0/255.255.255.0 network on my 4G modem and connect the modem LAN port to my laptop I can access all the hosts by host name on that network. However, when I connect the Gargoyl Router to the modem as a regular router I can by host name only access Router on that network no other hosts. Still I do not have any issues accessing by IP-address.

Thus, I do not believe it is an OpenVPN issue but rather a host name resolution issue.

All suggestions on how to solve this issue are welcome.

Post Reply