I have a RUTx11 running OpenVPN and would like to view the VPN status remotely. It can be viewed via the admin page under Status > Overview but can the VPN status be viewed over MQTT or similar. I currently run Node-Red on a RPi and view GPS over UDP and Mobile signal strength over modbus and would like to view VPN status in Node-Red too.
Thanks
@xsilvergs Hello,
Apologies for the delayed response.
One option is to enable the custom registers block on the RUTX11 and use a script to store the VPN status and any other required information in that block. This would allow you to retrieve the data via Modbus. You can find an example of how to use the custom register block and insert data into it here:
https://wiki.teltonika-networks.com/view/Modbus_custom_register_block_RutOS
Additionally, there’s a more general example on how to send data to Node-RED, which may be useful:
https://wiki.teltonika-networks.com/view/Modbus_and_Bluetooth_data_sending_to_Node-RED
Alternatively, the best approach might be to use the RUTOS API, which allows you to retrieve all necessary data efficiently:
https://developers.teltonika-networks.com/
Kind Regards,