Hello
I have a following problem which I would be very thankfull, if someone can tell me what I am doing wrong.
I have a Siemens Sinumerik CNC controller and we want to get into it with Kepware server to get data off it.
If I go with Kepware installed on my laptop and plug into Sinumerik directly and set LAN card IP in the same IP range, the Kepware on my laptop server will see data and start collecting it.
Now sinumerik acts on outside same as a plc so I have at the moment improvised setup with s7-1200 plc to which I can connect directly with mentioned IP 172.30.1.2 but after putting mikrotik in between it stops working.
And yes, I did change IP settings of Kepware to try to get to 192.168.2.80 now and yes I changed IP settings of my LAN card.
I need to do the following:
Link public 192.168.2.80 on port 1 WAN to internal IP 172.30.1.2 which is connected to bridge on port 2.
I have RB760iGS. I am using default configuration.
From default configuration I have changed:
- Removed DHCP Client on WAN port.
- Added IP address 192.168.2.80 to the WAN port
- Changed IP on bridge to 172.30.1.5
- Disabled DHCP server on Bridge
I did:
/ip firewall nat add chain=dstnat dst-address=192.168.2.80 action=dst-nat \
to-addresses=172.30.1.2
/ip firewall nat add chain=srcnat src-address=172.30.1.2 action=src-nat \
to-addresses=192.168.2.80
I do not need any firewall or protection at all as it is part of internal network, which has no access to the internet.
Would I have to delete any of the firewall rules?
From pictures in attachments, you can see I get packets on Nat-DST, those packets I get when I start the Kepware server
And the second picture is from filter rules and it does not seem like anything would be rejected.
in attachments is also export of configuration.