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
493 views 0 comments
by anonymous

Hello,

Is it possible to use the MQTT protocol to send JSON-RPC requests and get response to a TRB2xx Gateway ?

If not, is it planned ?

Best regards

1 Answer

0 votes
by anonymous

Hello, currently this functionality is not available and is not planned.

If you want shell access to the device if you are behind NAT (Private IP), maybe you could use reverse SSH?

For example:

(Command on TRB) Router connects to your SSH server and forwards port 2222 to port 22 (its own local shell):

ssh -R 2222:localhost:22 81.29.20.20

You may need to login on TRB using your SSH server credentials

On SSH server:

ssh localhost -p 2222

Login using TRB credentials

This will initiate a reverse SSH connection so even though TRB initiates the connection to server, shell is opened on SSH server.