martin-ger / esp32_nat_router

A simple NAT Router for the ESP32
1.27k stars 268 forks source link

Portmapping Not Working After First Reboot/Startup #140

Open geidien opened 8 months ago

geidien commented 8 months ago

Portmapping works great on the device if I erase the flash, then reflash firmware to a "new" state. Device then works perfectly and portmap functions as it should. As soon as the device is powered off or rebooted, the portmapping no longer works. I have tried removing and re-adding the portmap using the portmap console line, and even using a different port. But, the device no longer forwards the port.

Any reason as to why portmapping would only work on the first boot?

Hougaard22 commented 7 months ago

Port mapping works for me after restart and power off, try flashing the newest binary from master.