dark3proxy: add hostname-preserving socks router on :2000

This commit is contained in:
auto-ci
2026-03-09 17:22:41 -04:00
parent 58dcb6d9a6
commit 77a376c3e0
5 changed files with 312 additions and 5 deletions
+3
View File
@@ -57,6 +57,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
iproute2 \
iputils-ping \
python3 \
&& rm -rf /var/lib/apt/lists/*
# Copy binaries using the correct absolute paths from Stage 1
@@ -68,10 +69,12 @@ COPY --from=builder_yggdrasil /out/genkeys /usr/bin/genkeys
# Copy local runtime helpers/config
COPY ./entrypoint.sh /entrypoint.sh
COPY ./socks_router.py /usr/local/bin/socks_router.py
COPY ./yggdrasil.conf /etc/yggdrasil/yggdrasil.conf
# Setup config directories
RUN mkdir -p /etc/3proxy /etc/yggdrasil \
&& chmod +x /usr/local/bin/socks_router.py \
&& chmod +x /entrypoint.sh
# Ensure these files exist in your local directory where you run 'docker build'