Hi, I´m trying to access to a PLC that is located in a different network than my pc through a RUT200.
I´ve followed all the instructions provided by the guide RUTX 1-to-1 NAT - Teltonika Networks Wiki
But I don´t get it to work. I´m attaching a diagram as it is configured.
Both, the WAN and the LAN are wired directly to the RUT200
My current custom rules are:
iptables -t nat -I PREROUTING -d 10.3.1.2 -j DNAT --to-destination 172.16.17.10
iptables -t nat -I POSTROUTING -s 172.16.17.10 -j SNAT --to-source 10.3.1.2
My pc has the IP 10.3.1.11 and I want to send a ping to 10.3.1.10 and that the PLC at 172.16.17.10 receives it.
I would appreciate any help, thank you
Hello,
Apologies for the delay. Could you please confirm whether the initially described setup was achieved or if the issue still persists?
Also, I’d like to clarify this part of your description:
You mentioned “PC has the IP 10.3.1.11 and I want to send a ping to 10.3.1.10 and that the PLC at 172.16.17.10 receives it.”
Could you confirm whether you intend to:
- Redirect traffic from
10.3.1.11
through 10.3.1.10
to 172.16.17.10
,
or
- Simply reach
172.16.17.10
from 10.3.1.11
via 1-to-1 NAT on the RUT200?
This part is a bit unclear, so it would be helpful if you could clarify it.
Your current iptables NAT rules look fine at first glance. Could you also check the following:
- Is masquerading enabled on the LAN zone in Network → Firewall → Zones settings?
- Which firmware version is your RUT200 currently running? Please ensure you’re on version 7.13.4 or a later release for optimal functionality.
Best regards,