Virtual Private Networks – The Basics!

business

Sharing is caring!

A virtual private network (VPN) can extend a local area network (LAN) over the Internet to remote networks and remote client computers. VPNs use the Internet to route LAN traffic from one location to another by encapsulating data in encrypted IP packets. Encrypted packets cannot read encrypted Internet packets and can contain any type of network  (Best vpn canada) communication, such as printer and file sharing, email, remote procedure calls, and database access. .

The VPN can be configured using a server computer, firewall or router. VPN client access can be through client VPN software or connected to an Internet service provider that supports the VPN protocol.

VPNs are encapsulated in IP, and the combination of encrypted authentication and data payload encryption solves the problem of accessing private servers over the Internet.

IP package

IP encapsulation provides a way to protect data transfer between remote clients and private LANs. Computers outside the VPN cannot intercept traffic exchanged between remote clients and dedicated servers, or they can insert their own data into the traffic stream. This is done through the public Internet by creating what people call private and protected “tunnels.” When an IP packet contains another IP packet, it is an IP encapsulation. It provides a mechanism for referencing hosts within a private network when there may be no direct connection to the network. Combined with data encryption, we created a virtual tunnel.

Encryption authentication

Encrypted authentication is used to securely verify the identity of a remote client so that the private LAN can determine the level of security to apply to that user. The VPN uses an authentication process to determine if a remote user can participate in an encrypted tunnel and to exchange a public key that will later be used to encrypt data.

Data download encryption

Payload encryption uses a public key to encrypt the data fields of an encapsulated IP packet. That is to say, in addition to the data has been encrypted, the encryption of the data loading is exactly the same as the encryption of the ordinary IP address. It does not encrypt header information, so you can analyze the header information to analyze the details of the private network (Best vpn canada).

Before creating a VPN session, the client host has an interface through the ISP and an Internet connection. The client computer can communicate with any host on the Internet, but cannot access the web server on the 192.168.0.X private network. After creating a VPN session, the client host has two interfaces: the original interface of the Internet and the new VPN interface. The new VPN interface becomes the default gateway, meaning that all packets will initially pass through the new interface. However, the VPN interface is not a physical NIC, it is not physically connected to anything. The VPN interface is used to encrypt and encapsulate the packet and then send the packet as the payload of the new external packet. This is an external package that is sent to the corporate VPN server over the Internet (through the original interface).

The internal packet will use the private IP address of the 192.168.0.202 client as the source IP address and the private IP address of the 192.168.0.102 Web server as the destination address. The VPN client encrypts the data field of the internal packet, which becomes the payload of the external packet. The external package uses the public IP address of the client 66.123.77.196 as the source IP address, and uses the public interface (168.156.192.75) of the VPN server as the destination IP address. The encapsulated IP packets will be sent to the ISP and sent over the Internet.

When the encapsulated IP packet arrives at the VPN server, at the edge of the private network, it decompresses the internal packet and decrypts its data field. Since the VPN server also has an interface to the private network, you can transfer internal packets to the target web server. When data is returned from the web server to the client, the process is reversed: the VPN server handles encryption/encapsulation, and the VPN client is responsible for decoding/encoding.