Hi,
I have a setup like described in the picture, my engineering PC is connected to X2 connector of my Wago PLC. Then there’s on IOT module, running an UI application on top of Node Red (port 1880), connected to X2. I would like to route the etherhet traffic through the PLC, so that I can see the UI with my engineering PC. Is that possible? I have tried many to accomplish it by tweaking the ‘Custom Route’ and ‘Port Forwarding’ setting in WBM, but no success so far.
Yes, that does it! Thanks a million!
My IoT device is actually a Raspberry Pi like Linux device, so the first command needed to be “ip route add 192.168.1.0 via 192.168.2.17”
I believe that if the IoT module has default gateway set to 192.168.2.17 you dont need to manually add the route on that device, only the engineering PC.
You could also possibly activate IP masquerading on the PLC.