All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Nicoloso <marco.nicoloso@fastwebnet.it>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: [newbie]DNS on the internet... how to allow connections?
Date: Mon, 21 Feb 2005 23:34:48 +0000	[thread overview]
Message-ID: <421A7018.4030800@fastwebnet.it> (raw)

Hi there,

I solved all of my routing problems which I had before... Now everything 
works fine, but the name resolution. According to the scheme (Trusted 
subnet -> Firewall -> Internet), hosts on my trusted subnet can see the 
DNS properly, they get its address from the DHCP, but they cannot get 
DNS queries satisfacted.

I tried with different rules, but none works:
$IPTABLES -A INPUT -p tcp --dport 53 -j ACCEPT
$IPTABLES -A OUTPUT -p tcp --dport 53 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 53 -j ACCEPT
$IPTABLES -A OUTPUT -p udp --dport 53 -j ACCEPT

or these:
$IPTABLES -A FORWARD -p tcp -s $DNS1_IP -j ACCEPT
$IPTABLES -A FORWARD -p tcp -s $DNS2_IP -j ACCEPT
$IPTABLES -A FORWARD -p udp -s $DNS1_IP -j ACCEPT
$IPTABLES -A FORWARD -p udp -s $DNS2_IP -j ACCEPT

Do I have to setup my own named, cache queries and requests new ones if 
I need? Or it is just my problem, that I am not able to write rules...?

Thanks in advance

Marco Nicoloso


             reply	other threads:[~2005-02-21 23:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 23:34 Marco Nicoloso [this message]
2005-02-22  0:08 ` [newbie]DNS on the internet... how to allow connections? Alistair Tonner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=421A7018.4030800@fastwebnet.it \
    --to=marco.nicoloso@fastwebnet.it \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.