esp32_nat_router
ESP32 firmware that turns a microcontroller into a WiFi NAT router
Install
See the repository for setupWhat it does
ESP32 NAT Router is firmware that turns an ESP32 board into a small WiFi NAT router, routing traffic between its own access point and an uplink that can be WiFi station, Ethernet, or a WireGuard VPN tunnel. It suits people who want a cheap range extender, a separate guest or IoT network with its own SSID, a bridge from a WPA2-Enterprise corporate network to plain WPA-PSK for simple devices, or a starter router with Ethernet uplink.
Configuration happens after first boot over an open AP named ESP32_NAT_Router, through a browser at esp32-nat-router.local or 192.168.4.1, or through a serial console; an SSH console and mDNS discovery are also available. Prebuilt binaries cover ESP32, C3, C5, C6, S3 and WT32-ETH01, flashed from a browser via Web Serial or with esptool, and OTA updates work from the web UI. Features include DHCP reservations, port forwarding, an ACL firewall, PCAP streaming to Wireshark, MQTT telemetry with Home Assistant auto-discovery, LED and OLED status, and a beta MCP bridge for controlling the router from AI assistants. The summary says an MCP server is part of the firmware, but no external app integration is documented here.
Limitations are resource bound:
- At most 8 WiFi clients (5 on ESP32-C3) due to RAM, and enabling many features at once can exhaust memory.
- Throughput is roughly 5–15 Mbps under reasonable conditions; VPN, ACLs, per-client statistics and packet capture add delay.
- It is not intended to replace a professional home router.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 2,286
- Last push
- Nov 21, 2026
- License
- —
- Archived
- No
FAQ
- Does esp32_nat_router run locally or remotely?
- It runs locally.
- Is esp32_nat_router an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/esp32-nat-router"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.