https://github.com/archef2000/go-socks-ldap
Socks5 proxy with LDAP authentication
https://github.com/archef2000/go-socks-ldap
Last synced: 11 months ago
JSON representation
Socks5 proxy with LDAP authentication
- Host: GitHub
- URL: https://github.com/archef2000/go-socks-ldap
- Owner: archef2000
- License: mit
- Created: 2023-02-27T08:54:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-20T09:48:13.000Z (about 1 year ago)
- Last Synced: 2025-05-20T10:44:48.662Z (about 1 year ago)
- Language: Go
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-socks-ldap
Socks5 proxy with LDAP authentication
[](https://github.com/Archef2000/go-socks-ldap/actions/workflows/main.yml)
[](https://github.com/archef2000/go-socks-ldap/actions/workflows/github-code-scanning/codeql)
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