OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [SOLVED] Problems with DNS of OpenVPN clients
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Problems with DNS of OpenVPN clients  (Read 2503 times)

Fatmouse69

  • Newbie
  • *
  • Posts: 22
  • Karma: 2
    • View Profile
[SOLVED] Problems with DNS of OpenVPN clients
« on: March 14, 2019, 12:05:25 pm »
Hi,
I am running a Road-Warrior setup which runs pretty fine, except that sporadically the DNS for my local network is not working on my VPN-clients. Sometimes they can ping e.g. host01.mylocaldomain.lan and sometimes they can't.

As a workaround I tried to set static DHCP leases for my local network hosts and on top of this override DNS entries for those static IPs (I am using Unbound DNS). But then my local clients (e.g. host01) aren't able to reach the Internet. I already tried to fix this by setting the gateway explicitely but without success.

Hopefully somebody can give me a hint. Thank you very much for your time.

Kind regards
« Last Edit: March 19, 2019, 09:22:14 pm by Fatmouse69 »
Logged

Fatmouse69

  • Newbie
  • *
  • Posts: 22
  • Karma: 2
    • View Profile
Re: Problems with DNS of OpenVPN clients
« Reply #1 on: March 19, 2019, 09:17:47 pm »
Ok, so long story short, I don't know what the problem was while my clients couldn't connect to the Internet, but it was gone the next day. I am using static IP addresses now, because the OSes of my clients are heterogenous (Windows, macOS and Linux) and only on Windows I got the hostname resolution running reliably.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [SOLVED] Problems with DNS of OpenVPN clients
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2