LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] lvs. Nat

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] lvs. Nat
From: Anders Henke <anders.henke@xxxxxxxx>
Date: Tue, 29 Apr 2014 16:43:19 +0200
On 29.04.2014, net.study.sea@xxxxxxxxx wrote:
> In nat mode,does director do dnat and snat packets for all request packets?

In NAT mode, the director does perform destination nat on request packets,
so your realserver does still see the correct "source" ip address.

However, replies then need to be sent via the director as well, so the 
director can reverse the changed destination IP address and the client
does see the reply packet from the "expected" IP address/port.


Anders
-- 
1&1 Internet AG              Expert Systems Architect (IT Operations)
Brauerstrasse 50             v://49.721.91374.0
D-76135 Karlsruhe            f://49.721.91374.225

Amtsgericht Montabaur HRB 6484
Vorstand: Ralph Dommermuth, Frank Einhellinger, Robert Hoffmann, 
Andreas Hofmann, Markus Huhn, Hans-Henning Kettler, Uwe Lamnek, 
Jan Oetjen, Christian Würst
Aufsichtsratsvorsitzender: Michael Scheeren

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>