A VPN emulates a point-to-point link. The VPN encapsulates the data with a header that provides routing information. This format enables the data to traverse the public network to reach its destination. To emulate a private link, the encapsulated data is encrypted for confidentiality. Encryption algorithms ensure that if packets are intercepted on the public network, they cannot be read without the encryption keys.