Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
My units are configured as follows:
ASUS - port 1195/UDP - and it works correctly
QNAP - port 1194/TCP - and it does not work properly. That means I can connect, but Ethernet nodes inside LAN can be reached only by using IP address.
But when I set on client for QNAP connection, DNS as a address of Asus, it works correctly.
QNAP does not have any firewall activated.
On the router both TCP and UDP protocols are open for port 1194.
So, what the problem is?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.