All of lore.kernel.org
 help / color / mirror / Atom feed
* load balacing with https home banking
@ 2006-12-13 14:09 Marco Berizzi
  2006-12-13 22:45 ` Patrick McHardy
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Berizzi @ 2006-12-13 14:09 UTC (permalink / raw)
  To: netfilter-devel

[sorry for posting a user question to this
list, but no luck with netfilter@ and lartc@]

Hello everybody.
I'm running linux 2.6.19 (with iptables 1.3.7)
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 a way to automagically tell netfilter
to snat always with the same source ip for
the same destination host? I have also
modified SNAT with SAME, but no luck.

TIA

^ permalink raw reply	[flat|nested] 8+ messages in thread
* load balacing with https home banking
@ 2006-12-13 14:09 Marco Berizzi
  0 siblings, 0 replies; 8+ messages in thread
From: Marco Berizzi @ 2006-12-13 14:09 UTC (permalink / raw)
  To: netfilter-devel

[sorry for posting a user question to this
list, but no luck with netfilter@ and lartc@]

Hello everybody.
I'm running linux 2.6.19 (with iptables 1.3.7)
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 a way to automagically tell netfilter
to snat always with the same source ip for
the same destination host? I have also
modified SNAT with SAME, but no luck.

TIA

^ permalink raw reply	[flat|nested] 8+ messages in thread
* load balacing with https home banking
@ 2006-12-07 14:08 Marco Berizzi
  0 siblings, 0 replies; 8+ messages in thread
From: Marco Berizzi @ 2006-12-07 14:08 UTC (permalink / raw)
  To: netfilter

Hello everybody.
I'm running linux 2.6.19 with nth match to
alternatively snat outgoing connections to
two different ip addresses.
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 (home banking for example),
don't work correctly. Is there a way to
tell iptables to snat always with the same
source ip for the same destination host?




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-12-25  1:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 14:09 load balacing with https home banking Marco Berizzi
2006-12-13 22:45 ` Patrick McHardy
2006-12-14  9:59   ` Marco Berizzi
2006-12-14 10:47     ` Patrick McHardy
2006-12-14 10:59       ` Marco Berizzi
2006-12-25  1:49       ` Krzysztof Oledzki
  -- strict thread matches above, loose matches on Subject: below --
2006-12-13 14:09 Marco Berizzi
2006-12-07 14:08 Marco Berizzi

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.