You are here:Home > Best VPN > The principle of mapping intranet domain names and ports

The principle of mapping intranet domain names and ports

Summary:Connect to the Camay proxy server through domain name resolution. The Comay proxy server sends access requests to the intranet client based on the dom…
horizonVPN Official website sandVPN Official website VPNhood Official website hailianVPN Official website
GoduckVPN Official website Fast Wind VPN Official website Fast Orange VPN Official website(Recommend) NetShekanVPN Official website

This book is available as an e-book in EPUB format

PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email

Email: shuxueha@outlook.com

PayPal: https://paypal.me/zhipinglei

You can also scan the PayPal QR code below to sponsor

You can also purchase this book on Amazon: click to enter the Amazon official website

Connect to the Camay proxy server through domain name resolution. The Comay proxy server sends access requests to the intranet client based on the domain name. The intranet client then sends the access request to the web server (such as IIS) of the intranet website, obtains the access result, and sends it back to the proxy server, which returns it to the internet user. This can penetrate the barriers of NAT gateway and firewall. The entire process can be described in one sentence: Internet users indirectly access internal websites through Comay proxy servers.

Because a proxy server is responsible for data transfer among multiple intranet websites, port mapping is needed to solve the problem of port overlap. Among all services, the access requests of web service (port 80) and smtp service (port 25) contain domain name information, and these two ports do not need to be mapped. All other ports need to be accessed through port mapping.

We allocate 5 ports for each intranet domain (plus 80 and 25 ports, a total of 7 ports can be used). These 5 ports can be freely mapped to any service, such as FTP.

The port mapping network diagram is as follows:

Taking FTP as an example. Assuming the domain name is user.dns075s.net and the port number assigned to FTP is 12345

Internal FTP server

127.0.0.1:21

<==>

Internal network client

127.0.0.1:xxxxx

<==>

Comay Proxy Server

user.dns0755.net:12345

<==>

Internet users

x.x.x.x:xxxxx

As shown in the above figure, the intranet FTP maps the local port 21 to the proxy server's port 12345 through port mapping. Internet users can access the intranet website on port 21 by connecting to port 12345 of user.dns075.net.

If you want to use port mapping to activate a service, the service must meet the following conditions:

1. It must be a service based on TCP protocol. Port mapping does not support UDP protocol.

2. The client of the service must be able to freely set the port. Because the mapped port number has changed. For example, in the above figure, the port number of FTP on the local machine is 21, and the mapped port number is 12345. Internet users need to set the port to 12345 in the FTP client to access it.


High-speed VPN Fast VPN Preferred Accelerator VPN Reliable VPN
High quality VPN Old fashioned VPN Stable VPN(Recommend) Smooth VPN
Share with Friends: