Hello,
I have been looking for a solution for my problem, but I couldn't find any.
Here is my setup:
- The RUT241 is configured to have its WAN port as a second LAN port.
- The RUT241 can be accessed from 4G using a private IPN with a fix IP address (in NAT mode).
. The RUT241 IP address has been set to 192.168.250.11
- The RUT241 has its DHCP disabled because there are two fixed IP devices attached to the LAN and the WAN (now second LAN port).
- The two devices (namely a PLC and a HMI) have their respective IP-s: 192.168.250.2 and 192.168.250.1
- The two devices communicate with each other on port 9600.
The devices (the PLC and HMI) are "happily" communicating with each other (through the RUT241 acting as a switch), but I am not able to access the PLC-s ports on port 9600 from the 4g network using SSH.
I also tried a similar configuration in my home network: I "daisy chained" a local network printer that has a static IP address with the RUT241, I can still access the network printer (so the RUT241 is working just like a switch or HUB), but I am not able to access it from 4G not even with a simple curl command.
I know I am missing something obvious here, but I can't find out what is wrong. Any help is appreciated.
UPDATE:
In my home network example, I changed the mask settings of the RUT241 from 255.255.255.0 to 255.255.0.0, and now I am able to ping the static IP network printer from my 4G originated SSH command line. So now ping works, but curl still doesn't. I am still hoping that someone can help me. (curl neither works within the local network).