11384 questions

13563 answers

21250 comments

31888 members

0 votes
141 views 0 comments
by
Hello,

we'd like to configure Port-Forwardings for the RUT240 via some sort of API programatically. We want that to be able only through the local network, which is why RMS is not a possible solution for us.

Is there maybe a REST Interface through which we can do that? I couldn't find any sort of documentation for that.

Thank you in advance

J. Saxen

1 Answer

0 votes
by
Hi,

No, we don't have REST API support, but we do have JSON-RPC, maybe it will help you?

https://wiki.teltonika-networks.com/view/RUT240_Monitoring_via_JSON-RPC_windows#Introduction

With it, you will be able to execute any commands, so you will be able to set-up port forwardings, pushing uci set's would be the easiest way to do it.

https://openwrt.org/docs/guide-user/firewall/firewall_configuration

EB.