All of lore.kernel.org
 help / color / mirror / Atom feed
From: "it clown" <suse@mailbox.co.za>
To: netfilter@lists.netfilter.org
Subject: Re: bind 9 and iptables
Date: Fri, 27 Aug 2004 23:10:40 +0200	[thread overview]
Message-ID: <web-420511790@mail01.infosat.net> (raw)
In-Reply-To: <D5C9032B2B09C64EA2409D6214E91AC90512F6@asimail2.alphanumeric.com>

Hi

Thanks this seemed to have done the trick.I had to add
another rule for tcp aswell. Is it possible for these rules
to slow my browsing abit? Because it seems asif my browsing
is abit slower now since i used the rules?

Regards

On Fri, 27 Aug 2004 16:16:41 -0400
 "Jason Opperisano" <Jopperisano@alphanumeric.com> wrote:
> > Hi All
> >
> > I have a dns with a forwarder to my isp on the iptables
> > box. I am having trouble on getting dns to work
> properly.
> >
> > When i comment:
> >
> > iptables -P INPUT DROP
> > iptables -p OUTPUT DROP
> >
> > DNS will work fine and all the pc's can browse the net.
> >
> > I have tried the following with out any luck:
> >
> > iptables -A OUTPUT -p tcp --dport 53 -j ACCEPT
> > iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
> > iptables -A INPUT -m state --state ESTABLISHED,RELATED
> -j
> > ACCEPT
> >
> > what rule do i need to add to make things more secure
> to
> > get my dns working properly, thanks?
> 
> # allow internal machines to contact the DNS server
> iptables -A INPUT -p udp -i $INSIDE_IF -s $INSIDE_NET -d
> $INSIDE_IP --dport 53 -j ACCEPT
> 
> # allow established an related packets out
> iptables -I OUTPUT -m state --state ESTABLISHED,RELATED
> -j ACCEPT
> 
> normally the "established" rule appears first in your
> chains, if you are using connection tracking.
> 
> -j
> 

_____________________________________________________________________
For super low premiums ,click here http://www.dialdirect.co.za/quote


  reply	other threads:[~2004-08-27 21:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-27 20:16 bind 9 and iptables Jason Opperisano
2004-08-27 21:10 ` it clown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-30 19:08 Jason Opperisano
2004-08-27 23:40 Daniel Chemko
2004-08-27 23:34 Jason Opperisano
2004-08-28  0:00 ` it clown
     [not found] <D5C9032B2B09C64EA2409D6214E91AC90512F9@asimail2.alphanumeric.co m>
2004-08-27 23:32 ` it clown
     [not found] ` <D5C9032B2B09C64EA2409D6214E91AC90512F9@asimail2.alphanumeric.com>
2004-08-28  0:47   ` Nick Drage
2004-08-28  1:58     ` Jose Maria Lopez
2004-08-28  4:40     ` dchemko
2004-08-27 21:19 Jason Opperisano
2004-08-27 21:00 Jason Opperisano
2004-08-27 20:06 it clown
2004-08-27 20:19 ` Nick Taylor
2004-08-27 20:53   ` it clown
2004-08-27 21:02     ` Nick Taylor
2004-08-27 20:37 ` Aleksandar Milivojevic
2004-08-28  0:44   ` Nick Drage
2004-08-28  5:02     ` Aleksandar Milivojevic

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=web-420511790@mail01.infosat.net \
    --to=suse@mailbox.co.za \
    --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.