🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh
rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh
This commit is contained in:
casjay 2025-01-06 17:02:26 -05:00
parent dcf975c3b2
commit 5cfac94cb4
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 6 additions and 3 deletions

View File

@ -267,7 +267,10 @@ ServerTransportListenAddr obfs4 0.0.0.0:${TOR_RELAY_PORT:-58004}
BridgeRelay 0 BridgeRelay 0
PublishServerDescriptor 1 PublishServerDescriptor 1
ContactInfo ${TOR_ADMIN:-tor-admin@$HOSTNAME}
Nickname ${TOR_NICK_NAME:-$RANDOM_NICK}-relay Nickname ${TOR_NICK_NAME:-$RANDOM_NICK}-relay
AccountingMax ${TOR_ACCOUNT_MAX:-1000} GBytes
AccountingStart month 1 00:00
%include $CONF_DIR/conf.d/*.conf %include $CONF_DIR/conf.d/*.conf
EOF EOF

View File

@ -263,14 +263,14 @@ Log notice file $LOG_DIR/tor-bridge.log
SOCKSPort 10052 SOCKSPort 10052
ServerTransportPlugin obfs4 exec /usr/bin/lyrebird ServerTransportPlugin obfs4 exec /usr/bin/lyrebird
ServerTransportListenAddr obfs4 0.0.0.0:${TOR_PT_PORT:-58000} ServerTransportListenAddr obfs4 0.0.0.0:${TOR_BRIDGE_PT_PORT:-58000}
BridgeRelay 1 BridgeRelay 1
PublishServerDescriptor 1 PublishServerDescriptor 1
ExtORPort auto ExtORPort auto
Exitpolicy accept *:* Exitpolicy accept *:*
ORPort ${TOR_OR_PORT:-58001} ORPort ${TOR_BRIDGE_OR_PORT:-58001}
DirPort ${TOR_DIR_PORT:-58002} DirPort ${TOR_BRIDGE_DIR_PORT:-58002}
Nickname ${TOR_NICK_NAME:-$RANDOM_NICK} Nickname ${TOR_NICK_NAME:-$RANDOM_NICK}
ContactInfo ${TOR_ADMIN:-tor-admin@$HOSTNAME} ContactInfo ${TOR_ADMIN:-tor-admin@$HOSTNAME}
AccountingMax ${TOR_ACCOUNT_MAX:-1000} GBytes AccountingMax ${TOR_ACCOUNT_MAX:-1000} GBytes