go-socks-ldap

command module
v0.0.0-...-706f620 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2026 License: MIT, MIT Imports: 10 Imported by: 0

README

go-socks-ldap

Socks5 proxy with LDAP authentication

Docker Socks LDAP CodeQL

Github

docker-compose

With environment variables

---
version: '3'
services:
  socks-ldap:
    image: archef2000/go-socks-ldap:latest
    container_name: socks-ldap
    ports:
      - 1080:1080/tcp
    environment:
      - LDAP_HOST=ldap://ldap.host:389
      - LDAP_USER=cn=admin,ou=people,dc=example,dc=com
      - LDAP_PASS=password
      - LDAP_BASE_DN=ou=people,dc=example,dc=com
      - LDAP_USER_FILTER=(&(objectClass=person)(memberOf=cn=socks,ou=groups,dc=example,dc=com))
      - TLS_ENABLED=false
      - TLS_SKIP_VERIFY=false
      - SERVER_PORT=1080
      - SERVER_HOST=0.0.0.0
      - UPDATE_INTERVAL=10
    restart: always

With config.yaml

---
version: '3'
services:
  socks-ldap:
    image: archef2000/go-socks-ldap:latest
    container_name: socks-ldap
    ports:
      - 1080:1080/tcp
    command: ["-config","/config.yaml"]
    volumes:
      - ./config.yaml:/config.yaml
    restart: always

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL