Generally, if you need to map Intranet IP addresses to the Internet, you must first determine which type of broadband you are using, such as LAN and ADSL. If you are using an ADSL phone, because every time you obtain a dynamic IP address, in this case, you need to bind a dynamic domain name to enable the Intranet IP address to access the Internet.
For more information about Nat principles, see: http://www.cnblogs.com/loulijun/archive/2012/03/31/2426621.html
Preparations:
1. Download the peanut shell Software
2. To ensure that you can access your gateway, you must modify the route configuration.
Detailed steps
1, first need to go to http://www.oray.com/(peanut shell official website) download a peanut shell software and install, and register a passport.
2. Because the ADSL modem comes with the NAT penetration function, you only need to configure it.
Log on to 192.168.1.1 (GATEWAY). The default user name and password are admin. You 'd better change the password for security reasons.
- After entering, click "forwarding rules" --> "virtual server" --> "Add new entries" to map your public IP addresses and ports, for example, if I set the port to 18080, IP: 192.168.1.103
Set the Protocol to all, set the status to "effective", and save.
- Go to "forwarding rules" --> "DMA host" --> set the status to enable. The IP address is the Intranet IP address to be mapped out, for example, 192.168.1.103.
- For video calls and remote monitoring, you need to set the port in a special application.
Note: during the test, I found that the Internet port of port 10000 or above is inaccessible. It seems that less than 10000 is mainly used for home Modem
3. log on to the peanut shells. you can apply for a free domain name, such as test.oicp.net (oicp.net is added by default ). Log on to the official website of peanut shells and go to "my console" --> "product management" --> "free Domain Name" --> select a free Domain Name and click "Activate peanut shells ",
Activate the peanut shell and log on to the peanut shell software. You will see an IP address in the bottom right corner. This is your public IP address.
Then, someone else can access your server through test.oicp.net or an IP address on the Internet.