Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Dan Searle" <dan@intrago.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: Tightening up outgoing traffic
Date: Tue, 15 Oct 2002 15:32:13 +0100	[thread overview]
Message-ID: <009b01c27457$a7ab66c0$0800000a@wormhole> (raw)
In-Reply-To: 1034686034.15446.38.camel@localhost.localdomain

Hi,

>
> I keep getting "domainname can not be found.  Please check the name and
> try again" from my browser.  This only happens for new web sites (i.e.,
> Yahoo works fine).  As this seems somewhat like a DNS issue, I tried
> adding this:
>

That'll be a DNS problem ;-)

> iptables -A OUTPUT -p tcp --destination-port nameserver -j ACCEPT
>
> but it didn't work.  Any ideas?  Thanks.

iptables -A OUTPUT -p tcp --dport domain -j ACCEPT
iptables -A OUTPUT -p udp --dport domain -j ACCEPT

You want to use the service name "domain", not "nameserver", also I think
domain lookups use the udp protocol also. (Don't quote me on that one :-)

Dan...




  parent reply	other threads:[~2002-10-15 14:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 12:47 Tightening up outgoing traffic Neil Hodge
2002-10-15 13:03 ` Antony Stone
2002-10-15 13:18 ` Kjetil Andreas Laasby
2002-10-15 14:31   ` Nick Drage
2002-10-15 14:32 ` Dan Searle [this message]
2002-10-15 15:22   ` Antony Stone
2002-10-16 12:40 ` Neil Hodge
2002-10-16 15:58   ` Alexandros Papadopoulos

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='009b01c27457$a7ab66c0$0800000a@wormhole' \
    --to=dan@intrago.co.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox