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}