> Alois Treindl wrote:
>
> > Yes, but the should come back to the client as if coming from VIP:80,
> > my question is: who takes care of the remapping of the ports?
Does anyone know how the packets get back?
If I have 2 boxes (not part of an LVS) and on the server box
I run
$ipchains -A input -j REDIRECT telnet serverIP 81 -p tcp
then I can telnet to port 81 on the server box and have a normal
telnet session.
I thought with REDIRECT that the packet with dest-port=81
was delivered to the listener on serverIP:telnet. How does the
telnetd know to return a packet with source-port=telnet?
I watched with tcpdump on the server here and all I see is a normal
exchange of packets with dest-port=81
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|