Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
[SOLVED] OpenVPN: resolve internal hostname (on my LAN)
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] OpenVPN: resolve internal hostname (on my LAN) (Read 4065 times)
thomka
Newbie
Posts: 11
Karma: 2
[SOLVED] OpenVPN: resolve internal hostname (on my LAN)
«
on:
January 19, 2021, 05:12:21 pm »
Hi Community,
I am using OPNSense a couple of years in my home environment without any problems. Last year I created a VPN Server with OpenVPN on my OPNSense, which is running also without problems untill now.
Untill now, I have used VPN from my iPhone to contact a single service at my network. Therefore I had to insert the IP (on my VPN Client/Phone), add a relevant rule in my firewall and everything is working fine.
Now I want to access a second service in my network and I tried to access it with it´s internal DNS name and not the internal IP adress. Unfortunately the dns of the target host can not be resolved from my VPN-Client (iphone). When I access it via the internal IP, I can establish an connection, but the goal should be to access it via the internal hostname.
Did u have an idea, what I have done wrong in my configuration, or where should I start my troubbleshooting?
Many thanks in advance and best regards,
Thomas
«
Last Edit: January 19, 2021, 05:41:35 pm by thomka
»
Logged
thomka
Newbie
Posts: 11
Karma: 2
Re: OpenVPN: resolve internal hostname (on my LAN)
«
Reply #1 on:
January 19, 2021, 05:41:13 pm »
After reviewing my configuration I found a setting, which I tought I has activated it (maybe I forgott to save it...)
My bad!
VPN > OpenVPN > Server > Edit > Client Settings > DNS Server > ------> insert your (local) DNS Server.
Afterwards I was able to resolve the hostname of my target Server from my VPN Client.
Cheers
Thomas
«
Last Edit: January 19, 2021, 05:43:01 pm by thomka
»
Logged
pablo_0001
Newbie
Posts: 2
Karma: -1
Re: [SOLVED] OpenVPN: resolve internal hostname (on my LAN)
«
Reply #2 on:
July 20, 2021, 02:43:03 am »
i have a same problem, one questio the dns server is a ip or name
Logged
Finest Сasual Dating
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
[SOLVED] OpenVPN: resolve internal hostname (on my LAN)