Does the LVS agent create a TCP connection?

when Nginx acts as an agent, the ss can see that a TCP connection is created with the client and the server, respectively.
does requesting LVS create a TPC connection when proxying to the server?

Lvs
Mar.29,2022

after studying for a day, it is concluded that the client will connect to the LVS cluster (including LVS and real server)) through TCP, but the LVS server will not establish another TCP connection with real server , but will only forward the TCP message

.

NAT mode : the principle is to modify the address of the IP message and the port of the TCP message, and then forward the packet without TCP connection behavior, but the customer believes that they are connected to an IP address, and the server groups with different IP addresses also think that they are directly connected to the customer
FULLNAT mode : the principle is also to modify the address of the IP message and the port of the TCP message. There is no TCP connection behavior, but when forwarding, it changes both the source address and the destination address, so from the client point of view, the connection established with LVS is also established with LVS from the back end.
DR mode : the principle is to modify the requested mac address (layer 2), and then forward the packet. There is no TCP connection behavior
IP tunnel mode : LVS and real server use IP tunnel technology, no TCP connection is established with real server

if you understand it incorrectly, you are welcome to discuss

IP load balancing Technology in LVS Cluster
Menu