Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. DLMSDirector Connection To DCU Via SOCKS Proxy

DLMSDirector connection to DCU via SOCKS proxy

By PLAMEN VASILEV , 20 August, 2024
Forums
DLMSDirector

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.

Profile picture for user Kurumi

Kurumi

1 year 9 months ago

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

PLAMEN VASILEV

1 year 9 months ago

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

Profile picture for user Kurumi

Kurumi

1 year 9 months ago

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin