From: "Ashley M. Kirchner" <ashley@pcraft.com>
To: netfilter@lists.netfilter.org
Subject: Re: Re: iptables help
Date: Thu, 29 Jul 2004 15:07:02 -0600 [thread overview]
Message-ID: <410966F6.3020206@pcraft.com> (raw)
In-Reply-To: <200407291928.48974.Antony@Soft-Solutions.co.uk>
Antony Stone wrote:
>>>iptables -I FORWARD -s a.b.c.d -d w.x.y.z -p tcp --dport 80 -j REJECT
>>>
>
>"-I" will insert the rule at the top of the FORWARD chain, and therefore
>guarantees that these packet will be REJECTed, no matter other rules follow
>in your ruleset.
>
Thanks for the explanation. So I'm testing this out now, and I
inserted:
iptables -I FORWARD -s 66.218.75.184 -d 192.168.1.253 -p tcp --dport 80
-j REJECT
66.218.75.184 == mail.yahoo.com (or login.yahoo.akadns.net, or
l1.login.vip.scd.yahoo.com according to iptables -L), however that
machine (.253) can still reach that address just fine. What am I missing?
I don't see a round-robin IP setup for mail.yahoo.com (much like
what you'd see if you lookup www.yahoo.com) so I'm not quite sure why
it's not blocking it.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
next prev parent reply other threads:[~2004-07-29 21:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-28 23:20 iptables help Ashley M. Kirchner
2004-07-29 6:32 ` Antony Stone
2004-07-29 16:29 ` Ashley M. Kirchner
2004-07-29 18:28 ` Antony Stone
2004-07-29 21:07 ` Ashley M. Kirchner [this message]
2004-07-29 21:20 ` Antony Stone
2004-07-29 21:35 ` Ashley M. Kirchner
2004-07-29 21:18 ` Ashley M. Kirchner
2004-07-29 21:28 ` Antony Stone
-- strict thread matches above, loose matches on Subject: below --
2004-07-29 21:41 Jason Opperisano
2004-07-29 21:59 ` Ashley M. Kirchner
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=410966F6.3020206@pcraft.com \
--to=ashley@pcraft.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 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.