LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-14-2005, 03:43 PM   #1
jdupre
Member
 
Registered: Sep 2003
Distribution: LFS6.1, FC3, RH9
Posts: 36

Rep: Reputation: 15
how to open up firewall for DNS?


I have a FC3 server that will be a webserver and DNS server for the domain. How do I open up the firewall for DNS requests from the outside world?

I see that the default firewall setup allready accepts "multicast DNS" (whatever that is) packets on port 5353, but that alone is not working. (I am testing DNS from a remote windows machine using nslookup.)

Using the system-config-securitylevel tool, I tried adding "domain:udp" to the "other ports" line. But this made the tool hang after exiting. (And cleared all the rules after I ctrl-z'ed.)

Do I have to edit the iptables file to accept DNS requests on port 53?

- Joe

Last edited by jdupre; 03-14-2005 at 03:49 PM.
 
Old 03-15-2005, 08:18 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
run the followings:
iptables -I INPUT -p udp --dport 53 -j ACCEPT
/etc/init.d/iptables save

it will surely open udp 53 port. and it will save the current rules in your iptables srore file.

good luck.
 
  


Reply



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
iptables firewall and DNS? guitarman85281 Linux - Software 2 09-20-2004 08:37 PM
DNS and Firewall dexter_modem Linux - Security 8 11-13-2003 10:41 PM
DNS and firewall merlin371 Linux - Networking 2 07-31-2003 05:36 AM
DNS and firewall help please mpalladi Linux - Networking 2 05-26-2003 09:35 AM
DNS, firewall dilemma? apessos Linux - Networking 1 02-06-2001 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:22 PM.

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