run both tor http proxy and privoxy

This commit is contained in:
Riccardo Balbo 2024-10-26 11:35:33 +02:00
parent 57042d9ed0
commit 33c4314212
3 changed files with 3 additions and 3 deletions

View File

@ -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" ]

View File

@ -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

View File

@ -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