FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
458 views 2 comments
by anonymous

Good day! We bought 30 pieces of rut 955 for transmitting TI (telemetry) from the Modicon M 340 controller. On Mikrotik RB 951, I set up an Open VPN server - subnet 192.168.214.1
I set up a client on Teltonic RUT 955 and assigned a static ip on openvpn 192.168.214.21 to Esmu - the tunnel went up - I added a Teltonic profile to the bridge on Mikrotik - there are pings on 214.21 from Mikrotik, but ping on 214.1 does not work from Teltonic - although everything should work default! Teltonika received a subnet 192.168.1.1 and assigned a static ip 192.168.1.219 to the controller, since my dhcp starts from 220 and up to 250/24

I need to forward 214.21 (OVPN) on port 502 to 1.219 for the modicon m 340 controller to work via Modbus TCP with the server - the server must make a request to 214.21 (OVPN)
with mikrotiks this scheme works for me - dst nat ip 192.168.214.21 protocol tcp dst port 502 action dts nat 192.168.1.219 port 502
and I write one more rule for nat-out interface bridge action masqueradinge and everything works. Please help me to do this on teltonik rut 955, thanks in advance!

I forgot to add that the Internet works for me through a cellular provider (modem) and the firmware of the router is the latest for today.



1 Answer

0 votes
by anonymous
Hi,

Could you please share the topology? How is everything connected? Also, please provide OpenVPN configurations from both, the server and the client.

If you configure everything correctly, there should be no need to use port-forwarding to reach your controller. But of course, if you do not want to route LAN networks via OpenVPN, then you can configure a port-forwarding rule on your RUT955 to redirect traffic to your controller.

Kind Regards,

Andzej
by anonymous
I have sent you a reply letter with a detailed explanation
by anonymous
Hi,

Could you please tell me where did you sent the letter? I did not receive any letter. You can send me a private message by clicking on my profile and pressing 'send private message' button.

Kind Regards,

Andzej