RepositoryCDEGermany
martin-ger

martin-ger/esp32_nat_router

An AI-enabled NAT Router/Firewall for the ESP32

2.3kstars
525forks
151issues
7views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: esp-idf

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: dhcp-server

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: pcap

#2 Repository Của Tuần

🔌 ESP32 trở thành router NAT đầy đủ tính năng, còn cả AI điều khiển mạng

Một firmware biến ESP32 thành router WiFi NAT, hổ trợ WireGuard, DHCP, firewall, PCAP, mDNS, OTA, và cả MCP-server để AI quản lý mạng.

Đây là firmware cho phép ESP32 hoạt động như một router NAT WiFi, định tuyến giữa mạng AP (Access Point) và STA (Station) hoặc ETH (Ethernet) — dùng làm uplink. Ngoài ra còn hỗ trợ hoạt động như một router VPN thông qua WireGuard.

✨ Điểm nổi bật

  • Định tuyến NAT: Router WiFi NAT đầy đủ với IP forwarding, tốc độ lên tới 15 Mbps
  • WireGuard VPN: Hỗ trợ đường hầm VPN tùy chọn với MSS clamping và Path MTU tự động
  • Đặt trùng IP DHCP: Gán IP cố định cho các địa chỉ MAC cụ thể
  • Chuyển tiếp cổng: Ánh xạ cổng bên ngoài tới thiết bị nội bộ
  • Tường lửa: Định nghĩa ACL để hạn chế hoặc giám sát lư lượng
  • Bắt gói tin PCAP: Hỗ trợ bắt gói tin trực tuyến, stream tới Wireshark
  • Hỗ trợ WPA2-Enterprise: Kết nối tới mạng doanh nghiệp (PEAP, TTLS, TLS) và chuyển đổi sang WPA2-PSK
  • WiFi 5 GHz: Hỗ trợ dual-band trên ESP32-C5 với lựa chọn băng tần
  • Ethernet: Hỗ trợ board W32-ET01 với PHY LAN8720
  • Giao diện Web: Giao diện web được bảo vệ bằng mật khẩu
  • MCP Bridge (AI sẵn sàng): Điều khiển router từ trợ lý AI thông qua Model Context Protocol
  • OTA cập nhật: Cập nhật firmware trực tiếp từ giao diện web

💡 Vì sao đáng chú ý

ESP32 NAT Router không chỉ là một router đơn giản — nó mang đến một nền tảng mạng linh hoạt cho thiết bị IoT, từ việc mở rộng phạm vi WiFi, tạo mạng khách hàng riêng, đến kết nối mạng doanh nghiệp an toàn qua VPN. Đặc biệt nổi bật là khả năng tích hợp MCP-server, cho phép các trợ lý AI như Claude điều khiển và giám sát toàn bộ mạng ngay tại thiết bị.

Nhờ thiết kế tối ưu RAM và hỗ trợ nhiều tính năng như OLED, LED trạng thái, mDNS, MQTT Home Assistant, ESP32 NAT Router là lựa chọn hoàn hảo cho dự án mạng IoT tại nhà hoặc doanh nghiệp nhỏ.


#ESP32 #NATRouter #WireGuard #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC
martin-ger/esp_wifi_repeater

A full functional WiFi NAT Router (and now also a WiFi Repeater)

5.3k
Nov 8, 2026
RepositoryShell
angristan/wireguard-install

WireGuard VPN installer for Linux servers

11.4k
May 2, 2026
RepositoryGo
fatedier/frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

110.7k
Nov 10, 2026
RepositoryC
HeyWillow/willow

Open source, local, and self-hosted Amazon Echo/Google Home competitive Voice Assistant alternative

3.1k
Nov 1, 2026
RepositoryC
RavenSystem/esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)

3.0k
Nov 8, 2026
RepositoryGo
tailscale/tailscale

The easiest, most secure way to use WireGuard and 2FA.

39.4k
Nov 21, 2026
RepositoryGo
ehang-io/nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.

34.3k
May 30, 2024
RepositoryGo
netbirdio/netbird

NetBird securely connects people, machines and AI agents across any network with one identity-based Zero Trust platform. Powered by peer-to-peer WireGuard®

31.2k
Nov 21, 2026
RepositoryTypeScript
fosrl/pangolin

Modern networking and security platform providing secure access and connectivity to apps, infrastructure, and AI workloads. Connect and protect your users.

23.9k
Nov 20, 2026