From: "Alexandre J. Correa - Onda Internet" <alexandre@ondainternet.com.br>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] load balacing with https home banking
Date: Mon, 11 Dec 2006 19:27:08 +0000 [thread overview]
Message-ID: <457DB10C.6040908@ondainternet.com.br> (raw)
In-Reply-To: <BAY103-DAV11F47A9149A006B2341CF5B2D00@phx.gbl>
you can try static ips of home banking like:
$IPTABLES -t nat -A POSTROUTING -s my_ip --protocol tcp -m multiport -d 200.200.200.1 --dports
80,443 -j SNAT --to-source adslB
where 200.200.200.1 is ip of homebanking site... and it´s going out via adslB
Marco Berizzi wrote:
> Hello everybody.
> I'm running linux 2.6.19 with nth match to
> alternatively snat outgoing connections to
> two different ip addresses for load balancing
> between two adsl lines:
> Here is:
>
> $IPTABLES -t nat -A POSTROUTING -s my_ip --protocol tcp -m
> multiport --dports 80,443 -m statistic --mode nth --every 2 -j SNAT --to
> adslA
> $IPTABLES -t nat -A POSTROUTING -s my_ip --protocol tcp -m
> multiport --dports 80,443 -j SNAT --to adslB
>
> Things are working pretty good, but some
> applications (https home banking for example),
> don't work correctly (because the remote
> server see two different ip addresses). Is
> there any trick to tell iptables to snat
> always with the same source ip for the same
> destination host? I have also modified SNAT
> with SAME, but no luck.
>
> TIA
>
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
--
Sds.
Alexandre J. Correa
Onda Internet
www.ondainternet.com.br
Linux User ID #142329
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2006-12-11 19:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-11 11:15 [LARTC] load balacing with https home banking Marco Berizzi
2006-12-11 19:27 ` Alexandre J. Correa - Onda Internet [this message]
2006-12-11 21:13 ` Fabrício F. Feijó
2006-12-20 0:21 ` Luciano Ruete
2006-12-20 9:06 ` Marco Berizzi
2006-12-20 10:12 `
2006-12-20 10:30 ` Marco Berizzi
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=457DB10C.6040908@ondainternet.com.br \
--to=alexandre@ondainternet.com.br \
--cc=lartc@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.