ESP32 Port Forwarding
Posted: Thu Jan 20, 2022 3:15 am
Hi! I've built a bunch of projects using the ESP32-CAM chip. These things are great. I currently want to build a port forwarder on this chip. My main internet facing router only supports 20 port forwarding rules (not enough for me) so I set one rule to send a range of 20 ports to a linux C.H.I.P on my internal network and that chip (using iptables commands) is setup to forward those 20 ports to other IP address/ports on my internal network. The C.H.I.P. is a discontinued product and it's days are numbered. I'm hoping to use an ESP32 chip to takeover this port forwarding function. I'm thinking lwip might be able to do this but I've not found any examples using an ESP32 chip for this port forwarding (iptables like) function. Any help will be greatly appreciated. Thank you.