aiagent.club
中文
GitHub repo

martin-ger/esp32_nat_router

C Tracked since 2020-02-17 Updated 2026-09-12 View source ↗

#470 of 803 by Stars among GitHub repos

2.2k 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.2k 2026-09-12
Forks 485 2026-09-12
Commits 265 2026-09-12
Releases 0 2026-09-12
Watchers 69 2026-09-12
Open issues 145 2026-09-12
Open PRs 7 2026-09-12