ESP32 Cam – Part 2: Open modem port to bring Website from Local to Internet

posted in: Microcontroller | 0

In the previous section, I loaded the code for the ESP32 Cam and got the camera stream address In this part, I will show you how to put that website on the internet so that you can view the camera anywhere.

Because I have 2 routers, the way to do it will be more complicated. If you only have 1 router where you live, just follow the steps for the main router.

Step 1: Configure the secondary router

You enter the address of the secondary router, usually And log in.

Set static IP for secondary router.

Go to Wan and set the following parameters and save.

Next DMZ for the address of the ESP, enter the address of the ESP in the box.

Once done, go to the address and you will see the camera’s streamed image. لعبة الروليت في العراق

Step 2: Configure the main router router

You enter the address of the main router, usually And log in.

You go to the DMZ section. And type the address 192. طريقة الربح في لعبة الروليت 168.1.20

After installation is complete. You go to this page to know the WHOIS IP address of your home network. See

Copy the IP address in the box and paste it into your browser. You can access the local site from anywhere via this address.

Conclusion: You can do it with any webserver of ESP like controlling home appliances

Leave a Reply

Your email address will not be published. Required fields are marked *