🗃️ Committing everything that changed 🗃️
All checks were successful
release-tag / release-image (push) Successful in 7m13s

rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh
rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh
This commit is contained in:
casjay 2025-06-11 16:19:17 -04:00
parent dd9692202b
commit 83dde3d6b9
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 19 additions and 3 deletions

View File

@ -277,9 +277,17 @@ ORPort ${TOR_BRIDGE_OR_PORT:-57004}
DirPort ${TOR_BRIDGE_DIR_PORT:-57005}
Nickname ${TOR_BRIDGE_NICK_NAME:-$RANDOM_NICK}
ContactInfo ${TOR_BRIDGE_ADMIN:-tor-admin@$HOSTNAME}
AccountingMax ${TOR_BRIDGE_ACCOUNT_MAX:-1000 GBytes}
AccountingMax ${TOR_BRIDGE_ACCOUNT_MAX:-2000 GBytes}
PublishServerDescriptor 1
AccountingStart month 1 00:00
# Block ports
ExitPolicy reject *:25
ExitPolicy reject *:465
ExitPolicy reject *:587
ExitPolicy reject *:135-139
ExitPolicy accept *:*
%include $CONF_DIR/conf.d/*.conf
EOF

View File

@ -276,11 +276,19 @@ DirPort ${TOR_RELAY_DIR_PORT:-57002}
ExitRelay 1
PublishServerDescriptor 1
ContactInfo ${TOR_RELAY_ADMIN:-tor-admin@$HOSTNAME}
Nickname ${TOR_RELAY_NICK_NAME:-$RANDOM_NICK}
AccountingMax ${TOR_RELAY_ACCOUNT_MAX:-1000 GBytes}
ContactInfo ${TOR_RELAY_ADMIN:-tor-admin@$HOSTNAME}
AccountingMax ${TOR_RELAY_ACCOUNT_MAX:-2000 GBytes}
AccountingStart month 1 00:00
DirPortFrontPage /usr/share/tor/html/exit.html
# Block ports
ExitPolicy reject *:25
ExitPolicy reject *:465
ExitPolicy reject *:587
ExitPolicy reject *:135-139
ExitPolicy accept *:*
%include $CONF_DIR/conf.d/*.conf
EOF