Skip to content

archef2000/go-socks-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Socks5 proxy with LDAP authentication

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •