Expose your home computer and the Internet using peanut shells

I get a Tomcat service at home, and I want to access it from the external network. What should I do? A router's peanut shell can help you!

         1 First register a Peanut Shell account, so that you can get a free domain name on the router similar to the following page:
       Service Provider Link: Peanut Shell DDNS Service Application Peanut Shell DDNS Service Help

      
          2 Then log in with the registered account and password.

          3 Configure the virtual host (select DNS service, port 53, and the IP address is your own LAN address). The

                            virtual server defines the mapping relationship between the WAN service port and the LAN network server. Access to the service port will be redirected to the LAN network server specified by the IP address.

                                                                                                                                                                                 
                  ID Service Port IP Address Protocol Status Configuration
                  1 53 192.168.1.103 ALL Effective Edit Delete

           4 Configure DMZ host, select Enable, and write the address to your own LAN address.

                  In some special cases, it is necessary to expose a computer in the LAN to the WAN , in order to achieve two-way communication, at this time, the computer can be set as the DMZ host.
                 (Note: After setting the DMZ host, the firewall settings related to this IP will not work.)
DMZ status: Enable
DMZ host IP address: own IP address 

          5 Start tomcat Deploy the application, use the free domain name: port/application name to Access your program, so you can achieve external access


          6 It should be noted that after the router restarts, your IP address may change and may need to be reset

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327093581&siteId=291194637