From: "Tyler J. Wagner" <tyler@tolaris.com>
To: Grant Taylor <gtaylor@riverviewtech.net>
Cc: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Trying to achieve fail over to multiple DNATed destinations
Date: Wed, 10 Aug 2011 10:01:03 +0100 [thread overview]
Message-ID: <4E4248CF.6080701@tolaris.com> (raw)
In-Reply-To: <4E41913F.9080203@riverviewtech.net>
On 2011-08-09 20:57, Grant Taylor wrote:
> On 08/08/11 17:36, Mark Ruth wrote:
>> The problem is that the target webserver (i.e. www.example.com ) is
>> loadbalanced between like 10 servers having 10 public IPs (which are
>> NOT in series), but since IPtables can not accept domain names
>> (correct me if i m wrong) I have to select 1 ip address (i.e.
>> 201.23.11.22 ) from the pool of 10 available, for my iptables rule.
>
> It is my (mis)understanding that the iptables command will accept host
> names and resolve them to an IP which is inserted in to the kernel. So,
> you are close.
Yes, it will. However, this will make loading your firewall rules block
on DNS. If you are loading the firewall as the interface comes up, that
may be a problem for you. For critical systems, especially routers, I
use only IP addresses in the firewall script.
Regards,
Tyler
--
"No one can terrorize a whole nation, unless we are all his accomplices."
-- Edward R. Murrow
prev parent reply other threads:[~2011-08-10 9:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CADCwhZk8VdOCKQ5QA_aEG_Z9naqfJvbjdd=MAR4Pk5R_L4-xHg@mail.gmail.com>
2011-08-08 22:36 ` Trying to achieve fail over to multiple DNATed destinations Mark Ruth
2011-08-08 22:46 ` Jan Engelhardt
2011-08-08 23:15 ` Mark Ruth
2011-08-09 19:57 ` Grant Taylor
2011-08-10 9:01 ` Tyler J. Wagner [this message]
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=4E4248CF.6080701@tolaris.com \
--to=tyler@tolaris.com \
--cc=gtaylor@riverviewtech.net \
--cc=netfilter@vger.kernel.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.