From: "James A. Pattie" <james@pcxperience.com>
To: netfilter@lists.netfilter.org
Subject: Re: how to redirect certain IPs to specific url
Date: Wed, 30 Jun 2004 10:14:32 -0500 [thread overview]
Message-ID: <40E2D8D8.6050201@pcxperience.com> (raw)
In-Reply-To: <200406301034.44072.Antony@Soft-Solutions.co.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Antony Stone wrote:
| If www.abc.com resolves to more than one IP address, only one will get entered
| into the rule if you specify the name (and you would need to use multiple
| rules if you specify by IP), and therefore only some of the packets sent to
| ww.abc.com would match the rule.
|
I just tested and if you say use www.yahoo.com, which resolves to multiple
entries, you get that many iptables rules generated for each unique IP that
www.yahoo.com resolves to. I've been relying on this feature for a long time. :)
- --
James A. Pattie
james@pcxperience.com
Linux -- SysAdmin / Programmer
Xperience, Inc.
http://www.pcxperience.com/
http://www.xperienceinc.com/
http://www.pcxperience.org/
GPG Key Available at http://www.pcxperience.com/gpgkeys/james.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA4tjXtUXjwPIRLVERAvFyAKCe3AYePy69ry/RPYkfs1saIUqIRgCgttVp
HM6SXxZo+/hXeN/Hs7CnrR8=
=qy1L
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
next prev parent reply other threads:[~2004-06-30 15:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-30 7:44 how to redirect certain IPs to specific url Askar Ali Khan
2004-06-30 8:31 ` Antony Stone
2004-06-30 9:13 ` Askar Ali Khan
2004-06-30 9:34 ` Antony Stone
2004-06-30 15:14 ` James A. Pattie [this message]
2004-07-01 1:11 ` Ian Holsman
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=40E2D8D8.6050201@pcxperience.com \
--to=james@pcxperience.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.