Virtual Private Network (VPN) refers to a method of creating a private (encrypted) communication path between two devices, even if this path is over the private Internet. With VPN, if an attacker captures the conversation between two endpoints, he will only see encrypted packets that have no relevance and do not reveal their true content.
VPNs are usually maintained by dedicated devices called VPN concentrators, which have the main purpose of initiating and ending VPN tunnels and doing all the necessary encryption/decryption processes. In small environments, these operations can be accomplished by dedicated software applications. VPN concentrators can come in two forms:
- Hardware appliances
- Software applications
| Note: Dedicated devices are used for VPN tunneling on a large scale because encrypting and decrypting traffic is a very CPU-intensive task and dedicated hardware speeds up this process.
|
The VPN concentrator is usually situated in the enterprise infrastructure and represents one of the two endpoints of a VPN tunnel, as shown in Figure 21.8 below. The other endpoint is located at the remote user who wants to connect to the enterprise’s internal resources via the VPN concentrator. Depending on the connection method and purpose, remote VPN client functionality can be accomplished in two ways:
- Dedicated hardware (VPN router/firewall)
- Dedicated client software (third party or built into the operating system)
Figure 21.8 – Establishing a VPN Tunnel
From the remote end-user’s perspective the process of connecting to the enterprise’s internal resources is simple. Whenever he wants to connect to the enterprise network, he can use the VPN client software to initiate a secure, encrypted VPN tunnel from his machine to the VPN concentrator. After the tunnel has been successfully built, the user can access internal resources just like he would be able to in the enterprise’s internal network.
All of the communication from the VPN concentrator to the remote user is completely encrypted. As data comes from the remote user to the internal network, the VPN client software encrypts the data and sends it to VPN concentrator, which decrypts the information and forwards it to the internal network. As data goes from the internal network to the remote user, the VPN concentrator encrypts it and forwards it to the remote user. At that end, the VPN client software decrypts it and sends it to the user. When the communication is over, the VPN client tears down the tunnel to the concentrator.
