mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-06-27 15:48:57 -04:00
🗃️ Committing everything that changed 🗃️
All checks were successful
release-tag / release-image (push) Successful in 7m13s
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:
parent
dd9692202b
commit
83dde3d6b9
@ -277,9 +277,17 @@ ORPort ${TOR_BRIDGE_OR_PORT:-57004}
|
|||||||
DirPort ${TOR_BRIDGE_DIR_PORT:-57005}
|
DirPort ${TOR_BRIDGE_DIR_PORT:-57005}
|
||||||
Nickname ${TOR_BRIDGE_NICK_NAME:-$RANDOM_NICK}
|
Nickname ${TOR_BRIDGE_NICK_NAME:-$RANDOM_NICK}
|
||||||
ContactInfo ${TOR_BRIDGE_ADMIN:-tor-admin@$HOSTNAME}
|
ContactInfo ${TOR_BRIDGE_ADMIN:-tor-admin@$HOSTNAME}
|
||||||
AccountingMax ${TOR_BRIDGE_ACCOUNT_MAX:-1000 GBytes}
|
AccountingMax ${TOR_BRIDGE_ACCOUNT_MAX:-2000 GBytes}
|
||||||
PublishServerDescriptor 1
|
PublishServerDescriptor 1
|
||||||
AccountingStart month 1 00:00
|
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
|
%include $CONF_DIR/conf.d/*.conf
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
@ -276,11 +276,19 @@ DirPort ${TOR_RELAY_DIR_PORT:-57002}
|
|||||||
|
|
||||||
ExitRelay 1
|
ExitRelay 1
|
||||||
PublishServerDescriptor 1
|
PublishServerDescriptor 1
|
||||||
ContactInfo ${TOR_RELAY_ADMIN:-tor-admin@$HOSTNAME}
|
|
||||||
Nickname ${TOR_RELAY_NICK_NAME:-$RANDOM_NICK}
|
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
|
AccountingStart month 1 00:00
|
||||||
DirPortFrontPage /usr/share/tor/html/exit.html
|
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
|
%include $CONF_DIR/conf.d/*.conf
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user