🔧 Update configuration files 🔧

Dockerfile
.env.scripts
rootfs/tmp/etc/privoxy/config
rootfs/tmp/etc/unbound/unbound.conf
rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh
This commit is contained in:
casjay
2025-10-22 08:14:09 -04:00
parent 620dec89a1
commit 6a47728945
5 changed files with 293 additions and 284 deletions

View File

@@ -56,5 +56,5 @@ DEFAULT_DATA_DIR="/usr/local/share/template-files/data"
DEFAULT_CONF_DIR="/usr/local/share/template-files/config"
DEFAULT_TEMPLATE_DIR="/usr/local/share/template-files/defaults"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ENV_PACKAGES="tor torsocks nginx php84"
ENV_PACKAGES="tor torsocks lyrebird privoxy unbound nginx php\$PHP_VERSION"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@@ -54,7 +54,7 @@ ARG PHP_SERVER
ARG SHELL_OPTS
ARG PATH
ARG PACK_LIST="tor torsocks nginx php84 "
ARG PACK_LIST="tor torsocks lyrebird privoxy unbound nginx php$PHP_VERSION"
ENV ENV=~/.profile
ENV SHELL="/bin/sh"
@@ -136,7 +136,7 @@ RUN echo "Updating system files "; \
RUN echo "Custom Settings"; \
$SHELL_OPTS; \
echo ""
echo ""
RUN echo "Setting up users and scripts "; \
$SHELL_OPTS; \
@@ -153,7 +153,7 @@ RUN echo "Setting OS Settings "; \
RUN echo "Custom Applications"; \
$SHELL_OPTS; \
echo ""
echo ""
RUN echo "Running custom commands"; \
if [ -f "/root/docker/setup/05-custom.sh" ];then echo "Running the custom script";/root/docker/setup/05-custom.sh||{ echo "Failed to execute /root/docker/setup/05-custom.sh" && exit 10; };echo "Done running the custom script";fi; \

View File

@@ -1,5 +1,13 @@
# Route all traffic through Tor with remote DNS
forward-socks5t / 127.0.0.1:9050 .
# Listen on all interfaces
listen-address 0.0.0.0:8118
# limits
max-client-connections 9999999
listen-backlog 8192
# Security hardening
toggle 1
enable-remote-toggle 0
enable-edit-actions 0
accept-intercepted-requests 0
trust-x-forwarded-for 1

View File

@@ -16,7 +16,8 @@ server:
forward-zone:
name: "onion"
forward-addr: 127.0.0.1@8053
forward-zone:
name: "."
forward-addr: 148.135.52.175
forward-addr: 82.29.128.145
forward-addr: 1.1.1.1