GitHub repo

martin-ger/esp32_nat_router

C Tracked since 2020-02-17 Updated 2026-07-16 View source ↗

#458 of 783 by Stars among GitHub repos

2.0k Stars

An AI-enabled NAT Router/Firewall for the ESP32

About

This is a firmware to use the ESP32 as WiFi NAT router. It routes between the network of the AP interface and the STA or ETH interface as uplink network. It can also work as a VPN router using WireGuard as uplink.

Starting from this code base I started several spin-off projects with slightly differrent scope. These are all (ab)using the ESP as a minimal network device.

The maximum number of simultaniously connected WiFi clients is 8 (5 on the ESP32c3) due to RAM limitations (uses about 5KB per client). Each of the features: Web Interface, PCAP Capture, Wireguard VPN, Remote Console, WPA Enterprise and MQTT Home Assistant require several KB of additional RAM. So using all of them at once…

Excerpted from github.com/martin-ger/esp32_nat_router

Latest metrics

Stars 2.0k 2026-07-16
Forks 461 2026-07-16
Commits 257 2026-07-16
Releases 0 2026-07-16
Watchers 67 2026-07-16
Open issues 140 2026-07-16
Open PRs 6 2026-07-16