From 33c4314212b14bd240c5c98473b5c411b387deb1 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Sat, 26 Oct 2024 11:35:33 +0200 Subject: [PATCH] run both tor http proxy and privoxy --- docker/tor/Dockerfile | 2 +- docker/tor/privoxy.conf | 2 +- docker/tor/torrc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/tor/Dockerfile b/docker/tor/Dockerfile index 89190073..710be06d 100644 --- a/docker/tor/Dockerfile +++ b/docker/tor/Dockerfile @@ -10,7 +10,7 @@ ADD tor.sh /tor.sh ADD services.conf /services.conf ADD privoxy.conf /etc/privoxy/config RUN mkdir -p /tordata && groupadd -g 1000 tor && useradd -u 1000 -g 1000 -m tor && chown -R tor:tor /tordata -EXPOSE 9050 9051 7050 +EXPOSE 9050 9051 7050 7051 VOLUME "/tordata" USER tor ENTRYPOINT [ "bash", "/tor.sh" ] diff --git a/docker/tor/privoxy.conf b/docker/tor/privoxy.conf index 699adfcb..b356705a 100644 --- a/docker/tor/privoxy.conf +++ b/docker/tor/privoxy.conf @@ -791,7 +791,7 @@ logfile logfile # # listen-address [::1]:8118 # -listen-address 0.0.0.0:7050 +listen-address 0.0.0.0:7051 #listen-address [::1]:8118 # # 4.2. toggle diff --git a/docker/tor/torrc b/docker/tor/torrc index 6645c7a1..bfac6649 100644 --- a/docker/tor/torrc +++ b/docker/tor/torrc @@ -17,7 +17,7 @@ ## as a relay, and not make any local application connections yourself. SOCKSPort 0.0.0.0:9050 # Default: Bind to localhost:9050 for local connections. #SOCKSPort 192.168.0.1:9100 # Bind to this address:port too. -#HTTPTunnelPort 127.0.0.1:7051 +HTTPTunnelPort 0.0.0.0:7050 ## Entry policies to allow/deny SOCKS requests based on IP address. ## First entry that matches wins. If no SOCKSPolicy is set, we accept ## all (and only) requests that reach a SOCKSPort. Untrusted users who