0

I have OpenVPN server installed on ASUS router with Advanced Tomato and on QNAP NAS. Both in the same LAN. Both units have installed DNSMASQ, and contents of DNS definitions are synced so practically are the same. Of course except some particular unit dependent parameters. I can without problem login over OpenVPN to Asus and to NAS. So my problem is like this. When I log in over OpenVPN to Asus, it is possible to use mnemonic names of other Ethernet nodes in LAN, so DNSMASQ bind to LAN interface of Asus works properly. But when I log in to QNAP NAS, it possible to reach particular Ethernet node inside LAN only using IP address. So it is not possible to use DNSMASQ installed on NAS. On NAS DNSMASQ is bind to LAN (bride) interface. NAS is equipped in 4 Ethernet ports configured as switch bridged to internal Ethernet interface. DNSMASQ works properly because if I query DNS server on NAS about IP address of particular Ethernet node in LAN from device connected to the same LAN it answer properly. But why it does not responds on query from OpenVPN connection?

mackowiakp
  • 259
  • 2
  • 3
  • 10

1 Answers1

0

If I understood your question correctly, try to bind dnsmasq to the OpenVPN interface (tun0) on the QNAP NAS. Dnsmasq will not answer requests from interfaces it is not listening on.

Check /etc/dnsmasq.conf or the files in /etc/dnsmasq.d/ for a line containing the interface option.

Robert James
  • 48
  • 1
  • 6