API Doc
Search Docs...
⌘ K
ACOSABSAVEANSABDRAKEObservability

NAT modes

ANS load balancing supports two NAT modes: FullNAT and DNAT. The FullNAT mode includes both SNAT and DNAT.

  • DNAT (applicable to VLAN networks only): Translates the destination address of client requests. The VIP is used to communicate with clients. After receiving a request, the destination address is automatically translated from the VIP to the real IP address (RIP) of the backend server.

  • SNAT: Translates the source address of client requests. The local IP address (LIP) is used to communicate with backend servers. After receiving a request, the client address is automatically translated to a fixed LIP, so the backend server is not aware of the real client address.

When creating an L4 virtual service, you can select either FullNAT or DNAT for the NAT mode. An L7 virtual service does not require NAT mode configuration.