OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Unbound Overrides don't work when on VPN
« previous next »
  • Print
Pages: [1]

Author Topic: Unbound Overrides don't work when on VPN  (Read 2477 times)

shtech

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
    • View Profile
Unbound Overrides don't work when on VPN
« on: September 05, 2018, 06:55:03 pm »
I am behind my opnsense fw. I connect to an openvpn at a client's. Internal resolution of their lan works fine.
Their DNS Server: 192.168.1.13
Opnsense FW: 192.168.3.1

While I am connected to that openvpn, local lan DNS fails. NSLOOKUP shows that it tries the client's DNS server, then it tries the next server which is my FW. It returns nothing.

Code: [Select]
;; Got SERVFAIL reply from 192.168.1.13, trying next server
Server: 192.168.3.1
Address: 192.168.3.1#53

** server can't find XXXX: NXDOMAIN

However, if I disconnect from the vpn my overrides work correctly. It's really strange.

Unbound is set to "All" for interfaces, firewall isn't blocking the connection.

My workstation is opensuse leap 42.3. Redirect gateway is NOT enabled on the VPN. Anywhere I should look?
Logged

Baliste

  • Newbie
  • *
  • Posts: 47
  • Karma: 7
    • View Profile
Re: Unbound Overrides don't work when on VPN
« Reply #1 on: February 04, 2019, 12:17:04 pm »
Hello,

Did you find a solution to your problem ?
I am facing the same kind of situation.
My OpenVPN clients can't resolve the DNS reccords defined in Unbound Overrides ...

Thanks,

Frédéric
Logged

Baliste

  • Newbie
  • *
  • Posts: 47
  • Karma: 7
    • View Profile
Re: Unbound Overrides don't work when on VPN
« Reply #2 on: February 04, 2019, 12:46:45 pm »
Hello,

I find a post here with the same kind of problem. They said to add the OpenVPN tunnel network to the unbound ACL. I did it and it is working now.

Frédéric
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Unbound Overrides don't work when on VPN
 

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