martin-ger / esp32_nat_router

A simple NAT Router for the ESP32
1.36k stars 283 forks source link

DHCP lease time #103

Open vladkozlov69 opened 2 years ago

vladkozlov69 commented 2 years ago

I have few DIY-IoT esp32-based devices connected to this router. I see that they are getting a new IP each hour. Is it configurable somehow? Thanks in advance.

vladkozlov69 commented 2 years ago

Is CONFIG_LWIP_DHCPS_LEASE_UNIT=60 what I'm looking for?