An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# go-socks-ldap
Socks5 proxy with LDAP authentication

[![Docker Socks LDAP](https://github.com/Archef2000/go-socks-ldap/actions/workflows/main.yml/badge.svg)](https://github.com/Archef2000/go-socks-ldap/actions/workflows/main.yml)
[![CodeQL](https://github.com/archef2000/go-socks-ldap/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/archef2000/go-socks-ldap/actions/workflows/github-code-scanning/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