Virtual Private Network
The Function of VPN:
VPN stands for Virtual Private Network that allows users to connect through a private network over the internet securely and privately. VPN creates an encrypted connection that is called a VPN tunnel, and all internet traffic and communication is passed through this secure tunnel.
Point-to-point tunneling protocol generates a tunnel and confines the data packet. Point-to-point tunneling protocol is the most widely used VPN protocol and has been in use since the early release of windows.
NAT:
Network address translation (NAT) takes your private IP addresses and translates them into public IP addresses. This helps conserve valuable public addresses while at the same time allowing hosts in your network to access services and remote hosts across the Internet (or another public network).
Securely Connecting to a Private Network:
Using Virtual Private Network, the Administrator or User can securely connect to the private network. The data that transfers from a private network to a VPN client should be encrypted and Pont to point tunneling protocol is used to transfer the data.
In our scenario, the VPN client will send a request and the VPN server with NAT will convert that public IP address to a private IP address, and a request is passed through the private network in reply again NAT will convert that private IP to public IP passed over the internet to VPN client