netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: RE: How to block only MX query made to DNS server
Date: Sun, 28 Nov 2004 01:21:46 -0500	[thread overview]
Message-ID: <1101622905.10064.29.camel@hubcap.ljm.dom> (raw)
In-Reply-To: <20041128041755.17971.qmail@web12307.mail.yahoo.com>

On Sat, 2004-11-27 at 23:17, pravin rane wrote:
> That is right but only when all clients are using my
> DNS server. I will not be able to block MX requests if
> they are using some other DNS servers which are
> out-side of my network and I can not force my clients
> to use only my DNS server.

iptables -t nat -A PREROUTING -i $INSIDE_IF -p udp \
  --dport 53 -j REDIRECT --to-port 53

or some variant thereof...

-j

--
"Lisa, if the Bible has taught us nothing else, and it hasn't, it's
 that girls should stick to girls sports, such as hot oil wrestling
 and foxy boxing and such and such."
	--The Simpsons



  reply	other threads:[~2004-11-28  6:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-27 21:23 How to block only MX query made to DNS server Daniel Chemko
2004-11-28  4:17 ` pravin rane
2004-11-28  6:21   ` Jason Opperisano [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-30 10:36 hclfm
2004-11-30 11:46 ` Leonardo Rodrigues Magalhães
2004-11-30 11:50 ` pravin rane
     [not found] <OFF16F8905.C3905D39-ON65256F5C.002D9EA6@pricol.co.in>
2004-11-30  8:53 ` pravin rane
2004-11-30 12:35   ` a.ledvinka
2004-11-29 18:27 Hudson Delbert J Contr 61 CS/SCBN
2004-11-30  7:26 ` pravin rane
2004-11-30 13:17   ` Jason Opperisano
2004-11-30 14:28     ` Jason Opperisano
2004-11-27  9:51 pravin rane
2004-11-28  7:40 ` Tom Marshall

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=1101622905.10064.29.camel@hubcap.ljm.dom \
    --to=opie@817west.com \
    --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;
as well as URLs for NNTP newsgroup(s).