Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 06-30-2017, 01:32 PM   #1
Registered: Jun 2014
Location: Poland/Gdynia
Distribution: Mageia 7, SH4, Debian
Posts: 343

Rep: Reputation: 8

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?
Old 07-01-2017, 01:50 PM   #2
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Openvpn communicates on port UDP 1194. You must open the correct ports to communicate.
Old 07-01-2017, 02:05 PM   #3
Registered: Jun 2014
Location: Poland/Gdynia
Distribution: Mageia 7, SH4, Debian
Posts: 343

Original Poster
Rep: Reputation: 8
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?


dnsmasq, openvpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To create map to my QNAP boconganhdo Linux - Newbie 4 02-10-2017 12:37 PM
Mapping to a QNAP NAS craigrostan Linux - Newbie 3 11-22-2016 08:20 AM
[SOLVED] NAS Synology or QNAP jefro Linux - Hardware 6 03-20-2015 08:05 PM
QNAP .. need log files and more Arning Linux - Newbie 0 01-28-2012 09:16 AM
Compiling FUSE on a QNAP ( kernel 2.6.24 ) JulzKB Linux - Software 3 10-21-2009 05:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration