I am configuring my raspberry pi running Raspbian as a WIFI access point
using iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
to forward all traffic to ethernet and give wifi clients internet access
How do I make it so that if any client makes a request to a specific ip and port 10.10.10.10:8080
for example it will be forwarded to 127.0.0.1:8080
to be processed by a local http server running on the pi
if its easier I am ok with forwarding all traffic on port 8080 to 127.0.0.1:8080