I didn’t find a slim modbus tcp proxy for openwrt yet.
Here modbus devices (RTU & TCP) are scattered from the basement to the roof.
I managed to “convert” the RTU devces to TCP with a RS485-to-USB Adapter and mbusd available as openwrt package.
Because the modbus server usually did not accept request from many tcp clients a proxy is required.
I have found a proxy written in python. But I did not like this solution very much because it requires tons of python packages to be installed.
Maybe its running on openwrt. The usual way is to run it on a separate (virtual) server.
I would prefer a slim solution running on openwrt itself.
@dekarl
Thanks for your hint to the rust port.
But I did not understand what goreleaser is, and how to use.
Finaly I forked mobus-proxy-rs, and added some files to get it build with aarch64.
You can find my version here.
Remember. I never use rust before. Maybe there are tons of errors ….