Intranet IP only in intranet LAN access connection, outside the network is not aware of the intranet IP can not access. If there are routing permissions, and the route has a fixed public IP, can be routed through the port map, to achieve extranet access to the intranet. If no route, or route without public IP, need to use a third-party open peanut Shell Port mapping network to assist the implementation of external network access intranet.
One, through the route port mapping
1. Tp-link Router port mapping Setup method:Login to the management interface of the router (the management address is http://192.168.0.1, account admin password Admin), click the Router "forwarding rules-Virtual server-Add new entries into",
The port mapping settings are as follows: Service port number fill 80,IP address fill in the IP address of the intranet Web server 192.168.1.101, the protocol is set to TCP, if the Port protocol type is not understood can be set to select all, on behalf of all (including TCP and UDP), the status must be set to take effect. :
Note: The common service port number, which is the function of a help hint, does not need to be selected, and then click Save to map successfully.
2. D-Link Router port mapping Setup method:
Login router, the default management IP address is 192.168.0.1 account admin password is empty.
The advanced setting of the router-the virtual server is set up and must first be activated at the top point, and this setting will take effect.
Domain Name: Here you can fill it out; personal IP address: Here is the IP address of the intranet server 192.168.0.188; The personal service port and the public service side of these 2 items are set to 21, the schedule is set to any time, the last click on Execute, save this setting:
3, Lei branch Router port mapping Setup method:
If the intranet 192.168.1.100 is the housekeeper financial software server, need to map ports 80, 211, 14,333 ports. Login Router selection (the default admin address is admin for 192.168.0.1 account password), select the Virtual service settings in NAT settings. The virtual service name can be customized, the intranet host IP is set to the IP address of the server 192.168.1.100, the protocol is set to TCP, the external port and internal port are set to 211, and the click Add is set. Follow this procedure to continue adding maps 80 ports and 1433 ports,
4. TENDA Router Port mapping Setup method:
Login Router Click on the virtual server, the first option is set to enable, the common port does not need to select, the common port is set to 2006,ip address set to 192.168.0.58, the protocol is selected as TCP, after the setting is complete, click the Add button after
The above is the common mainstream router set port mapping method steps, in fact, as long as the principle, most of the router's setup methods are similar. In general, the port mapping of routers with peanut shells, nat123 dynamic Domain name analysis uses is relatively broad, more convenient.
Second, peanut shell port mapping
The benefit of port mapping network assistance is applicable to any network environment, the implementation process of extranet access intranet:
1. Install and enable peanut shell port mapping on the intranet. Add mappings, configure internal and external network mapping information, corresponding to the intranet IP port and extranet own domain name. The external address can be used to prompt the default domain name directly.
Click on the domain name you want to map, go to the peanut Shell port mapping add interface, click Open Intranet Map.
Application name can be filled with a good mind, intranet host is you want to be public access to the computer IP address, the intranet port is the port you want to be mapped, as follows. My intranet host is native, that is 192.168.21.250, the port that you want to be mapped is 1024. Click OK to start the port mapping.
Now the Port Mapping window will add a mapping record, at this time, the peanut shell mapping, through the domain name access, that is, you can connect the intranet corresponding IP applications. The public network as long as the peanut shell distribution of the domain name + port, you can access the host network.
Winserver Network Publishing site post-port map extranet access