SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > Asuswrt-Merlin

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-28-2013, 12:48 AM
kaiguy kaiguy is offline
Member
 
Join Date: Feb 2013
Posts: 46
Thanks: 6
Thanked 9 Times in 9 Posts
kaiguy is just starting out
Default OpenVPN and dnsmasq hostnames

Hey folks. Quick question:

Does OpenVPN (on Merlin's build or otherwise) allow for host names to be resolved on the remote LAN? I have it up and running but no settings I change within the GUI seem to allow me to resolve those host names (which do resolve fine if connected locally). I would assume "Push LAN to client" and/or "Respond to DNS" and "Advertise DNS to clients" would be the ticket. Connecting via IP works great, but not so much by the hostname.

Thanks for any input! Awesome firmware, Merlin!

Last edited by kaiguy; 02-28-2013 at 12:52 AM.
Reply With Quote
  #2  
Old 03-12-2013, 01:53 PM
jochenthomas jochenthomas is offline
New Member
 
Join Date: Dec 2012
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
jochenthomas is just starting out
Default

AFAIK, this is not possible, it's a typical openVPN issue :-)
Reply With Quote
  #3  
Old 03-12-2013, 02:12 PM
RMerlin's Avatar
RMerlin RMerlin is online now
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 11,200
Thanks: 58
Thanked 6,279 Times in 2,559 Posts
RMerlin is just starting out
Default

Name resolution works fine for me through my OpenVPN tunnel, I just did it. Just make sure you do specify the remote network's local domain.
__________________
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Twitter: RMerlinDev
See the sticky post for more info.
Reply With Quote
  #4  
Old 03-15-2013, 11:30 PM
kaiguy kaiguy is offline
Member
 
Join Date: Feb 2013
Posts: 46
Thanks: 6
Thanked 9 Times in 9 Posts
kaiguy is just starting out
Default

So if I specify my N66U's domain as "lan", I should be able to access my home network machines remotely via OpenVPN if I do hostname.lan ? Doesn't work for me for some reason.
Reply With Quote
  #5  
Old 03-16-2013, 12:24 AM
RMerlin's Avatar
RMerlin RMerlin is online now
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 11,200
Thanks: 58
Thanked 6,279 Times in 2,559 Posts
RMerlin is just starting out
Default

Quote:
Originally Posted by kaiguy View Post
So if I specify my N66U's domain as "lan", I should be able to access my home network machines remotely via OpenVPN if I do hostname.lan ? Doesn't work for me for some reason.
Make sure you have "Advertise DNS to clients" enabled on the OpenVPN server page, as well as Respond to DNS.

Try an "nslookup hostname.lan" to ensure the issue is really with name resolution and not something else.

I recommend using something like local.lan instead of just lan as your local domain.
__________________
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Twitter: RMerlinDev
See the sticky post for more info.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 05:21 PM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  428
azazel1024  130
L&LD  98
john9527  98
htismaqe  81
ColinTaylor  76
stevech  72
hggomes  57
sfx2000  55
Anzaia  49
RMerlin  6278
john9527  451
stevech  353
ryzhov_al  289
TeHashX  252
L&LD  242
RogerSC  202
sinshiva  146
sfx2000  136
joegreat  127
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  51069
Old RT-AC68 -...  23262
Old Moderate Nat...  5094
Old ASUS RT-N66U...  4557
Old iOS 8.1...  4061
Old RT-AC87U -...  2548
Old WiFi...  2475
Old RT-AC68P QOS...  2066
Old AC68U,...  1874
Old Ruckus...  1757
Old Asuswrt-Merli...  232
Old RT-AC68 -...  137
Old Review: 24...  35
Old iOS 8.1...  33
Old Moderate Nat...  32
Old WiFi...  27
Old RT-AC87U -...  26
Old RT-AC68P QOS...  24
Old How to flash...  24
Old Linksys...  21


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.