From 0ceecc424f1301cf1a9b7919e25794dcf78ecad3 Mon Sep 17 00:00:00 2001 From: casjay Date: Mon, 6 Jan 2025 16:53:39 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh --- rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh | 3 ++- rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh b/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh index a075767..b685f96 100755 --- a/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh +++ b/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh @@ -261,8 +261,9 @@ LogMessageDomains 1 Log notice file $LOG_DIR/tor-relay.log SOCKSPort 10051 -BridgeRelay 1 +BridgeRelay 0 PublishServerDescriptor 1 +Nickname ${TOR_NICK_NAME:-$RANDOM_NICK}-relay %include $CONF_DIR/conf.d/*.conf EOF diff --git a/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh b/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh index 946b841..7775931 100755 --- a/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh +++ b/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh @@ -264,6 +264,8 @@ SOCKSPort 10052 ServerTransportPlugin obfs4 exec /usr/bin/lyrebird ServerTransportListenAddr obfs4 0.0.0.0:${TOR_PT_PORT:-8445} +BridgeRelay 1 +PublishServerDescriptor 1 ExtORPort auto Exitpolicy accept *:* ORPort ${TOR_OR_PORT:-8444}