Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Francois Peyron" <lists@peyron.nom.fr>
To: netfilter@lists.samba.org
Subject: Re: dns server
Date: Thu, 6 Jun 2002 15:31:17 +0200	[thread overview]
Message-ID: <007501c20d5e$7ddfefb0$d700677d@7jbkbszj019> (raw)
In-Reply-To: 1420507267.20020606152231@gmx.de

Hi,

I think you have to add the same line for the tcp protocol, I can't remember
why: I think some requests are made with udp while others with tcp.
iptables -A INPUT -p tcp --destination-port 53 -j ACCEPT

hope this will help,

Francois
----- Original Message -----
From: "Corin Langosch" <corinl@gmx.de>
To: "IP-Tables Maillingliste" <netfilter@lists.samba.org>
Sent: Thursday, June 06, 2002 3:22 PM
Subject: dns server


> Hi,
>
> im running a dns server here and i'm not sure if the following rule is
enough to
> allow dns queries from everywhere:
>
> $IPTABLES -A INPUT -p udp --destination-port 53 -j ACCEPT
>
> all other packets are reject or dropped.
>
> Thanks,
> Corin
>
>



  reply	other threads:[~2002-06-06 13:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-06 13:22 dns server Corin Langosch
2002-06-06 13:31 ` Francois Peyron [this message]
2002-06-06 13:37   ` Raymond Leach
2002-06-06 13:45     ` Maciej Soltysiak
2002-06-06 13:48       ` Raymond Leach
2002-06-06 14:00         ` Antony Stone
2002-06-06 14:36           ` Arne Sagnes
2002-06-06 15:06             ` Tony Earnshaw
2002-06-06 13:33 ` Antony Stone
2002-06-06 14:00   ` Daniel Bastos
2002-06-06 14:04 ` Tony Earnshaw
2002-06-08  9:58   ` Nick Drage
2002-06-09  7:40     ` Tony Earnshaw
  -- strict thread matches above, loose matches on Subject: below --
2002-06-08 10:21 Corin Langosch
2002-06-08 22:36 ` Nick Drage

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='007501c20d5e$7ddfefb0$d700677d@7jbkbszj019' \
    --to=lists@peyron.nom.fr \
    --cc=netfilter@lists.samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox