Linux Netfilter discussions
 help / color / mirror / Atom feed
From: =?unknown-8bit?b?sLAg/uP+4yDf6nL74vFnILCw?= <duppeh@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: dnat to multiple destination *correction*
Date: Wed, 26 Oct 2005 07:14:21 -0700 (PDT)	[thread overview]
Message-ID: <20051026141421.43651.qmail@web53308.mail.yahoo.com> (raw)
In-Reply-To: <20051026140258.79270.qmail@web53313.mail.yahoo.com>

hi there,

recently i read iptables man page,
in the DNAT part :
You  can  add  several --to-destination options.  If
you specify more than
one destination address, either via an address range
or multiple --to-des­tination  options,  a simple
round-robin (one after another in cycle) load
balancing takes place between these adresses.
 
in my mind, it sounds like:
iptables -t nat -A PREROUTING -s xxx.xxx.xxx.xxx -p
tcp
--dport 80 -j DNAT --to-destination aaa.aaa.aaa.aaa
--to-destination bbb.bbb.bbb.bbb

but it says invalid arguments.
which part was wrong ?

cheers,
Agung


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs


  parent reply	other threads:[~2005-10-26 14:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26 14:02 dnat to multiple destination =?unknown-8bit?b?sLAg/uP+4yDf6nL74vFnILCw?=
2005-10-26 14:10 ` Mariusz Kruk
2005-10-26 14:13 ` Jörg Harmuth
2005-10-26 14:14 ` =?unknown-8bit?b?sLAg/uP+4yDf6nL74vFnILCw?= [this message]
2005-10-26 14:19 ` KOVACS Krisztian
2005-10-26 14:22   ` =?unknown-8bit?b?sLAg/uP+4yDf6nL74vFnILCw?=
2005-10-26 17:14   ` Henrik Nordstrom

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=20051026141421.43651.qmail@web53308.mail.yahoo.com \
    --to=duppeh@yahoo.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