Can traefik be a proxy for ldap connection

Is it possible to use traefik ingresscontroller to route on a specific entrypoint 389 to reach an openldap service?
Usually for TCP connection I use IngressRouteTCP but IngressRouteTCP uses HostSNI and in this case 389 is not an ssl endpoint.

Hello @obeyler

You can create a dedicated TCP entry point that can bind to any port e.g 389 and then create the following IngressRouteTCP configuration:

kind: IngressRouteTCP
metadata:
  name: ingressroutetcpwhoami
spec:
  entryPoints:
    - tcp
  routes:
    - match: HostSNI(`*`)
      services:
        - name: whoami-svc-tcp
          port: 8080

I've just successfully tested that configuration with the sample app whoami-tcp.
Hope that helps.

Many Thanks Jakubhajek!!!