drbitboy
Lifetime Supporting Member
So this is the proposed setup, minus the port forwarding, that may or may not work, but at least you can test it locally i.e. in your office. It does put only one address on the customer's network.
On your test setup, the [Test PLC, 192.168.16.100] will connect to 192.168,16.254, which will be the WAN port of the router in your office;
At the customer's site, the [Customer PLC, 102.2.245.81] will connect to 102.2.245.10, which will be the WAN port of the router at their site.
The [PLC 192.168.216.98] will need to have its gateway set to 192.168.216.1.
The fiddly bit will be the port forwarding, so the [Test/Customer PLC] can initiate a connection to the WAN TCP port 44818 of the router (192.168.16.254 or 102.2.245.81), and the router will pass that connection request to the [Target PLC, 192.168.216.98 TCP port 44818] on the LAN side of the router. To do that you need to [Port-Forward TCP 44818 to 192.168.216.98 TCP 44818] on the router. You may also need to do something with port UDP 2222.
The [LAN PLC] will need to be configured with 19.168.216.1 as its gateway. I don't know if the built-in NAT will handle the pull from the PLC on the LAN.
Everything may need to use the Ethernet driver, instead of the Ethernet/IP driver.
...
On your test setup, the [Test PLC, 192.168.16.100] will connect to 192.168,16.254, which will be the WAN port of the router in your office;
At the customer's site, the [Customer PLC, 102.2.245.81] will connect to 102.2.245.10, which will be the WAN port of the router at their site.
The [PLC 192.168.216.98] will need to have its gateway set to 192.168.216.1.
The fiddly bit will be the port forwarding, so the [Test/Customer PLC] can initiate a connection to the WAN TCP port 44818 of the router (192.168.16.254 or 102.2.245.81), and the router will pass that connection request to the [Target PLC, 192.168.216.98 TCP port 44818] on the LAN side of the router. To do that you need to [Port-Forward TCP 44818 to 192.168.216.98 TCP 44818] on the router. You may also need to do something with port UDP 2222.
The [LAN PLC] will need to be configured with 19.168.216.1 as its gateway. I don't know if the built-in NAT will handle the pull from the PLC on the LAN.
Everything may need to use the Ethernet driver, instead of the Ethernet/IP driver.
...
Last edited: