Hello
I need to connect a SCADA master to 2 PLC by a APN without configure a gateway (there is another gateway there we can not change or use)
I have:
SCADA local IP 192.168.1.200 - APN IP 192.168.41.120 router RTU951
PLC 1 local IP 192.168.1.60 - APN IP 192.168.41.48 (DMZ from APN IP to Local IP)
PLC 1 local IP 192.168.1.60 - APN IP 192.168.41.49 (DMZ from APN IP to Local IP)
I tried to use different ports (20000 and 20001) on SCADA and do a PORT forward from the router physical IP port to the station IP
I tried to configure a NAT to try to translate de incoming IP from SCADA to the IP off each station
I tried to use IP Tables to try to translate the IP off the router to the APN IP off a station.
iptables -t nat -I PREROUTING -d [192.168.1.1:502] -j DNAT --to-destination [192.168.41.48:502]
iptables -t nat -I POSTROUTING -s [192.168.41.48:502] -j SNAT --to-source [192.168.1.1:502]
Can anyone help me to solve this problem? thanks