Which of the following best describes the function of NAT?
Encapsulates network traffic to be sent over different protocols
Assigns IP addresses to devices within a local area network
Translates private IP addresses to a public IP address for internet access
Compresses data packets to reduce transmission time