From: Frank Gruellich <frank@der-frank.org>
To: netfilter@lists.netfilter.org
Subject: Re: RES: NAT 1:N
Date: Sun, 1 Jul 2007 12:44:10 +0200 [thread overview]
Message-ID: <20070701104410.GS17386@der-frank.org> (raw)
In-Reply-To: <A9413ED3DA1D5A47ADDF30EC379CEDA207670F@inepmail.inep.gov.br>
Hi,
* Gustavo L. P. dos Santos <gustavo.santos@inep.gov.br> 29. Jun 07:
> Maybe I wasn??t clear enought with my question, the two machines are
> web servers visible on the Internet, and I can??t use MASQUERADE for
> this. If it was the basics i wouldn??t bother you all. And sorry for
> the annoyance.
Don't worry, seems you're not the only one who should do some RTFM on
this list...
The situation you have is clearly described at Oskar Andreassons great
tutorial (a Must-Read for iptables users, IMHO):
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#DNATTARGET
You should use a range of IP#s for --to-destination. Note, that single
TCP streams will allways be directed to same server while different
streams will be directed in a simple load balancing manner (I think
round robin). This implies that you don't have any problems with rather
static content, but if you keep session information at server you have
to distribute that to all your webservers.
HTH, kind regards,
Frank.
--
Sigmentation fault
prev parent reply other threads:[~2007-07-01 10:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-29 20:29 RES: NAT 1:N Gustavo L. P. dos Santos
2007-06-29 20:33 ` Ric Messier
2007-06-30 7:54 ` Ivan Dubrov
2007-07-01 10:44 ` Frank Gruellich [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=20070701104410.GS17386@der-frank.org \
--to=frank@der-frank.org \
--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.