LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2013, 05:46 PM   #1
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Rep: Reputation: Disabled
dns port closure


I have a server with arch linux running bind (named). My ISP imposed a gateway on me which is a combination modem/router. When I connect my server to the gateway and forward traffic, port 53 is closed to the outside world (I use the Shields up site). An nmap scan using another computer behind the gateway shows port 53 open. Furthermore, I have two routers and I can connect the server to a router and the router to the gateway and this works (port is open to world) so long as I am using dd-wrt firmware. I can't get the stock firmware to work. I would appreciate any help getting the server to work while connected directly to the gateway. Any tips or suggestions or ideas on how to trace or isolate the problem would be a big help. Thanks in advance

Last edited by Laertiades; 06-23-2013 at 09:12 PM. Reason: typo
 
Old 06-23-2013, 06:24 PM   #2
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Rep: Reputation: 174Reputation: 174
You can go to portforward.com, find your router model, and learn how to forward ports from it to your nameserver system.
 
Old 06-23-2013, 09:04 PM   #3
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Original Poster
Rep: Reputation: Disabled
Thank you for the response, Z038. Unfortunately my gateway is a generic model provided by my ISP. It is called Comcast business class business IP gateway. It is not on the portforward.com list. Anyways, the interface is simple and I think I am configuring the settings correctly. I have no problems with ports 25, 80, and 143. I have forwarded ports on a number of different routers and the process is pretty similar and straightforward. My suspicion is that the gateway is forwarding requests to my server but is blocking responses from the server. Since port 53 uses the udp protocol it seems that this would just show up on a scan as port closed. When I do an nmap scan on the gatway from behind it shows 53 as open which makes sense because it is acting as a dns server for its clients, a feature I don't think I can disable. My theory is that my nameserver responses are being confused with such client requests and that dd-wrt is using some system which solves the problem. I am hoping I can mimick the dd-wrt system somehow on my Linux server. Anyways, thanks again
 
  


Reply

Tags
arch linux, dd-wrt, named, port forwarding



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
Redirect local DNS query to remote DNS server on non standard port? rock_ya_baby Linux - Server 8 04-13-2010 04:31 AM
LXer: Symphony OS Faces Possible Closure LXer Syndicated Linux News 2 07-30-2006 06:24 AM
what is closure and marshaller in gobject?? Dstruct0 Programming 0 08-22-2005 04:46 PM
abrupt closure of mplayer -> no sound rvijay17 Linux - Newbie 2 06-24-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:50 AM.

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