All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] routing TCP to another box preserving ORIGINAL client IPs
@ 2007-03-08  4:07 Alec Matusis
  2007-03-08  4:23 ` Martin A. Brown
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Alec Matusis @ 2007-03-08  4:07 UTC (permalink / raw)
  To: lartc

My TCP clients connect to box A. I need to forward those connections to a
server on box B, such that the original client IPs are visible to the server
on B.

Each box has two Ethernet ports. One port on each box is connected to WAN,
and they are cross-connected in a LAN via remaining ports:

        -------------------           -------------------
WAN -- |eth0   Box A   eth1|---LAN---|eth1   Box B   eth0| -- WAN
        -------------------           -------------------


Is there a way to do this with iproute2 and iptables tools ONLY? Can you
provide an example? Nothing in Google after more than a week of searching.
An additional requirement is to reduce the load on box A as much as possible
(I guess the server on B would still have to reply to the client via A, not
using B's own WAN interface however..)


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2007-03-09 15:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08  4:07 [LARTC] routing TCP to another box preserving ORIGINAL client IPs Alec Matusis
2007-03-08  4:23 ` Martin A. Brown
2007-03-08  4:46 ` Alec Matusis
2007-03-09  0:05 ` Alec Matusis
2007-03-09  0:48 ` ArcosCom Linux User
2007-03-09  3:13 ` Alec Matusis
2007-03-09  4:31 ` Rangi Biddle
2007-03-09  4:38 ` Alec Matusis
2007-03-09  4:39 ` Martin A. Brown
2007-03-09  8:16 ` Alec Matusis
2007-03-09 15:43 ` Martin A. Brown

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.