
Google Cloud's Network Load Balancers come in two designs. A proxy Network Load Balancer ends the client's TCP connection and opens a new connection to the backend. A passthrough Network Load Balancer does not end the client connection, so packets arrive at the backends unchanged, with the original client source IP address and the original destination port. Many of the differences between them follow from that design choice, including which protocols they carry, whether they can map ports and what source address the backends see. For the Professional Cloud Network Engineer exam, it helps to sort a requirement into one of these two designs before choosing the specific load balancer.
Because it terminates the client connection and opens its own, a proxy Network Load Balancer has abilities a passthrough design lacks:
A proxy Network Load Balancer runs in one of two modes, and the choice depends on where TLS should end.
In TCP proxy mode, the load balancer only forwards the TCP stream. A TLS session inside that stream passes through untouched, the private keys stay on the backends, and the backends can perform mutual TLS themselves. No certificate is uploaded to Google Cloud in this mode, and TLS stays end to end between the client and the backend.
In SSL proxy mode, the load balancer decrypts traffic at the edge using a certificate attached to the load balancer. Because the load balancer holds the certificate and decrypts the session, TLS ends at Google's edge rather than at the backends.
The same termination that enables port mapping also sets the limits of a proxy Network Load Balancer:
The internal proxy variants behave the same way on source addresses. A cross-region internal proxy Network Load Balancer and regional internal proxy Network Load Balancers also proxy traffic, so their backends see a proxy-only subnet address as the source.
A passthrough Network Load Balancer forwards packets rather than connections. The backends receive the client's own source IP address and the destination port the client used. It is regional, and it handles TCP on any port as well as UDP. It comes in external and internal forms.
The external passthrough Network Load Balancer has several properties that decide when it fits:
The internal passthrough Network Load Balancer keeps the client IP address and handles non-HTTP TCP and UDP traffic on multiple ports. It gets only an internal address, so devices on the public internet cannot reach it. Internet-facing UDP or client-IP requirements point to the external passthrough design instead.
A few requirements settle the choice quickly. UDP points to passthrough, because neither proxy mode supports it. A backend that reads the client address from the IP header points to passthrough, unless the software can parse PROXY protocol. Different frontend and backend ports point to proxy. A single global anycast address for TCP traffic points to the global external proxy Network Load Balancer, and within that design, where TLS is allowed to end decides between SSL proxy and TCP proxy mode. We would check those signals before looking at anything else, because each one rules out a group of load balancers on the Professional Cloud Network Engineer exam.
Our Professional Cloud Network Engineer practice exams cover proxy and passthrough Network Load Balancers alongside load balancer selection and health checks, with detailed explanations that drill these distinctions.