All of lore.kernel.org
 help / color / mirror / Atom feed
* TCP redirect external to external host
@ 2003-12-09 19:04 Örjan Persson
  2003-12-09 19:15 ` Antony Stone
       [not found] ` <1070997211.2880.4.camel@pepelui.baicom.com>
  0 siblings, 2 replies; 10+ messages in thread
From: Örjan Persson @ 2003-12-09 19:04 UTC (permalink / raw)
  To: netfilter

Hello,

I would like to redirect incoming traffic on host1:33 to host2:44!

Tried to find information about this for a day now but all I come up
with is the DNAT/SNAT solution. The problem with this is when the final
packet arrives at the host2 it thinks that host1 sends them. 

Is there a way to keep the senders IP?

Thanks in advance,
Örjan


^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: TCP redirect external to external host
@ 2003-12-09 19:20 Daniel Chemko
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel Chemko @ 2003-12-09 19:20 UTC (permalink / raw)
  To: Örjan Persson, netfilter

As long as the host1 is the default route for host2, then you do not need the SNAT rule. Otherwise, you're SOL.

Maybe you could cook up something with BGP but I wouldn't have a clue on how that would work.


-----Original Message-----
From: Örjan Persson [mailto:orange@fobie.net] 
Sent: Tuesday, December 09, 2003 11:04 AM
To: netfilter@lists.netfilter.org
Subject: TCP redirect external to external host


Hello,

I would like to redirect incoming traffic on host1:33 to host2:44!

Tried to find information about this for a day now but all I come up with is the DNAT/SNAT solution. The problem with this is when the final packet arrives at the host2 it thinks that host1 sends them. 

Is there a way to keep the senders IP?

Thanks in advance,
Örjan



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

end of thread, other threads:[~2003-12-09 20:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09 19:04 TCP redirect external to external host Örjan Persson
2003-12-09 19:15 ` Antony Stone
2003-12-09 19:40   ` Örjan Persson
2003-12-09 19:49     ` Michael Gale
2003-12-09 19:56       ` Antony Stone
2003-12-09 20:11         ` Michael Gale
2003-12-09 19:49     ` Antony Stone
2003-12-09 20:05       ` Örjan Persson
     [not found] ` <1070997211.2880.4.camel@pepelui.baicom.com>
2003-12-09 19:31   ` Örjan Persson
  -- strict thread matches above, loose matches on Subject: below --
2003-12-09 19:20 Daniel Chemko

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.