mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-09-18 15:57:47 -04:00
🗃️ Committing everything that changed 🗃️
rootfs/tmp/etc/tor/server.conf rootfs/tmp/etc/tor/torrc rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh rootfs/usr/local/etc/docker/init.d/01-tor-hidden.sh rootfs/usr/local/etc/docker/init.d/01-tor-relay.sh rootfs/usr/local/etc/docker/init.d/02-php.sh rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh rootfs/usr/local/etc/docker/init.d/03-privoxy.sh rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh rootfs/usr/local/etc/docker/init.d/04-tor-hidden.sh rootfs/usr/local/etc/docker/init.d/98-php.sh rootfs/usr/local/etc/docker/init.d/99-privoxy.sh
This commit is contained in:
@@ -239,10 +239,14 @@ __update_conf_files() {
|
||||
if [ "$TOR_RELAY_ENABLED" = "yes" ]; then
|
||||
mkdir -p "$CONF_DIR/relay.d"
|
||||
cat <<EOF >"$CONF_DIR/relay.conf"
|
||||
##### default rc
|
||||
%include /config/tor/torrc
|
||||
|
||||
##### relay
|
||||
LogMessageDomains 1
|
||||
Log notice file $LOG_DIR/relay.log
|
||||
|
||||
SOCKSPort 9051
|
||||
BridgeRelay 1
|
||||
PublishServerDescriptor 1
|
||||
%include $CONF_DIR/relay.d/*.conf
|
@@ -239,10 +239,14 @@ __update_conf_files() {
|
||||
if [ "$TOR_BRIDGE_ENABLED" = "yes" ]; then
|
||||
mkdir -p "$CONF_DIR/bridge.d"
|
||||
cat <<EOF >"$CONF_DIR/bridge.conf"
|
||||
##### default rc
|
||||
%include /config/tor/torrc
|
||||
|
||||
#### bridge
|
||||
LogMessageDomains 1
|
||||
Log notice file /$LOG_DIR/bridge.log
|
||||
|
||||
SOCKSPort 9052
|
||||
ServerTransportPlugin obfs4 exec /usr/bin/lyrebird
|
||||
ServerTransportListenAddr obfs4 0.0.0.0:${TOR_PT_PORT:-8445}
|
||||
|
@@ -241,10 +241,14 @@ __update_conf_files() {
|
||||
mkdir -p "$DATA_DIR/hidden_service"
|
||||
chmod 700 "$DATA_DIR/hidden_service"
|
||||
cat <<EOF >"$CONF_DIR/hidden.conf"
|
||||
##### default rc
|
||||
%include /config/tor/torrc
|
||||
|
||||
#### Default hidden dir
|
||||
LogMessageDomains 1
|
||||
Log notice file $LOG_DIR/hidden.log
|
||||
|
||||
SOCKSPort 9053
|
||||
HiddenServiceDir $DATA_DIR/hidden_service/default
|
||||
HiddenServicePort 80 127.0.0.1:80
|
||||
%include $CONF_DIR/hidden.d/*.conf
|
Reference in New Issue
Block a user