OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • [solved] DNS on OpenVPN not working anymore with 22.1
« previous next »
  • Print
Pages: [1]

Author Topic: [solved] DNS on OpenVPN not working anymore with 22.1  (Read 1053 times)

fireburner

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
[solved] DNS on OpenVPN not working anymore with 22.1
« on: February 12, 2022, 08:54:11 pm »
Since the OPNsense upgrade to 22.1, DNS is not working anymore on my VPN CLients.

My VPN network is 192.168.20.0/24 and i push 192.168.20.1 as DNS Server to the Clients.

I just created a test rule in the OpenVPN firewall section
Protocol    Source          Port    Destination Port    Gateway Schedule    Description
IPv4 *      192.168.20.0/24 *       *           *       *       *           Allow all

When I however run nmap -53 192.168.20.1 on the client, it states port 53 is filtered.

So I am wondering, if unbound is not serving this subnet anymore.

I have not had any issues prior to OPNsense 22.1.
« Last Edit: February 17, 2022, 08:01:01 pm by fireburner »
Logged

fireburner

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: DNS on OpenVPN not working anymore with 22.1
« Reply #1 on: February 17, 2022, 08:00:44 pm »
I have no clue, what went wrong here, but I got it to work now, again.
I had to select the OpenVPN interface in unbound and now DNS is working again as before.

But I am quite sure it must have been selected before the upgrade.
And because the Update made it stop working, I had played around with the separate interface I have had assigned under interfaces to the OpenVPN interface and eventually had removed it.
Assumingly that removed it from Unbound as well.
So the issue probably was that I had manually assigned an interface to the OpenVPN interface in the past instead of just leaving it as it gets created by the OpenVPN package.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • [solved] DNS on OpenVPN not working anymore with 22.1
 

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