Trying to Redirect Traffic for External IP to Internal Proxy

Started by mrrodge, March 08, 2023, 11:12:04 AM

Previous topic - Next topic
Hi,

I have a IoT device on my network that is sending status updates to an external cloud server.  I have a proxy server running elsewhere on my network and I want to route all traffic from the IoT device to my proxy.

I thought this would be a simple port forward on the LAN interface but no joy!  What am I doing wrong?  My thoughts were:

Firewall -> NAT -> Port Forward -> New Rule:

Interface - LAN
Protocol - TCP
Source - IoT device IP/32
Source Port - any
Destination - Cloud server IP/32
Destination - Cloud server port
Redirect target IP - My LAN proxy IP/32
Redirect target port - My LAN proxy port

I've used the packet capture on the LAN interface and can confirm the IoT device is communicating with the ports and IPs I thought it was - it's just the rule appears to do nothing.

Thanks!