aiagent.club
中文
GitHub repo

martin-ger/esp32_nat_router

C Tracked since 2020-02-17 Updated 2026-10-26 View source ↗

#484 of 813 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-10-26
Forks 507 2026-10-26
Commits 275 2026-10-26
Releases 0 2026-10-26
Watchers 70 2026-10-26
Open issues 150 2026-10-26
Open PRs 7 2026-10-26