[lvs-users] lvs. Nat

net.study.sea at gmail.com net.study.sea at gmail.com
Wed Apr 30 00:52:06 BST 2014


The real server received packet's source ip is client ip , why not it reply directly to client if there is router available route?

在 2014-4-29,22:43,Anders Henke <anders.henke at 1und1.de> 写道:

> On 29.04.2014, net.study.sea at gmail.com 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 at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users



More information about the lvs-users mailing list