1/13/2025 10:42 AM | |
Joined: 10/16/2024 Last visit: 8/28/2025 Posts: 1 Rating:
|
Good morning, i'm having an issue while trying to connect with TCP/IP communication to an external device in a different subnet. I'm using an external device (secomea sitemanager 3529) as a gateway to forward the traffic between the two devices. I'm the TCP client and the external device is TCP server. The data of the communication are the following: TCP server adress: 172.17.6.100 (communication port 1526) TCP client adress: 172.26.2.11 with gateway 172.26.2.99 (TCP server wants the traffic coming from 172.31.20.1, mask 250.240.0.0 and gateway 172.16.1.1) For this i'm using two forwarding rules on the Secomea device, physicall cable to the external device is connect to port DEV 3, forwarding rule from my device: DEV3*: TCP:3000>> DEV3*: 172.17.6.100;SRC=172.31.20.1 (i use local port 3000 and the SRC should masquerade all the traffic coming from my device as to come from ip adress 172.31.20.1), forwarding rule to my device: DEV3* 172.17.6.100:1526>> DEV3*:172.26.2.11. i also have the DEV3 port specifically use the 172.16.1.1 adress and a static router rule that send the traffic to 172.17.x.x from gateway 17216.1.1 that is specifically the DEV3 port where the cable is phyisically connected. With these settings i'm able to connect and opening a connection with 1526 port by telnet function in my command promt command so i think that the settings are correct, however in my tia portal project the tcp/ip connection remains red and says that the connection is "offline" only, can someone help me navigate the problem? Because i think there is something wrong in my siemens settings. It's the first time i try something like this so bear with me if i said something completly wrong, i attached all the settings i have done in and outiside siemens program Attachmentphotos.zip (180 Downloads) |
Follow us on