Hello,
Is there a way to access a DLMS DCU via SOCKS proxy?
The DCU is running on a APN to which I don't have direct access. I can do a ssh SOCKS proxy tunnel to a linux machine which is in this APN and usually this is what I do when I have to access the grid meters which are running the plain text protocol. Is there any way to configure the Director (and the client library) to make the connection via the SOCKS proxy? I didn't see anything proxy related in the Settings class of the client example. I am using the Java implementation.
Hi, DLMS is a binary…
Hi,
DLMS is a binary protocol, so if your meters are using plain text protocol, that is a different protocol that they are using.
There are no proxy settings because people currently do not need it.
BR,
Mikko
Hi, Yes, I know about the…
Hi,
Yes, I know about the text protocol, I was just explaining how I used to access our current grid meters. But now we have a Hexing DCU which we want to access via DLMS/COSEM protocol, and the DCU is in APN, to which I don't have direct routing, and I also can't use SOCKS proxy, because it's not supported by Gurux. Is there a possibility to implement it? Can I help with that? Do you accept external contributions to the library?
Meanwhile I will try to somehow tunnel the traffic via nc/ncat/socat/iptables whatever will work.
Regards
Plamen
Hi, You need to implement…
Hi,
You need to implement your own custom media. This is not a hard thing to implement.
You can use GXNet as a template.
You can read more from here on how to implement custom media:
https://gurux.fi/GXDLMSDirector.Media
BR,
Mikko