All apps · 0 apps
torprivoxy
Docker app from A75G's Repository
Overview
Readme
View on GitHub
torprivoxy
Run Tor + Privoxy in a single Docker container.
8118/tcp→ HTTP proxy (Privoxy)9050/tcp→ SOCKS5 proxy (Tor)
Images
Multi-architecture images are published for:
amd64arm64armv7armv6
Tags:
- Alpine base:
ghcr.io/avpnusr/torprivoxy:latest - Debian base:
ghcr.io/avpnusr/torprivoxy:latest-debian
Note: If you run older Docker versions on armhf/Raspberry Pi, check Alpine
time64migration notes: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements
Build status:
Quick start
Docker Compose
Use the included docker-compose.yml or this example:
name: torprivoxy
services:
torprivoxy:
container_name: torprivoxy
image: ghcr.io/avpnusr/torprivoxy:latest
# image: ghcr.io/avpnusr/torprivoxy:latest-debian
environment:
TZ: Europe/Berlin # change to your timezone
BRIDGE: |-
obfs4 <ip>:<port> <secret> cert=<cert> iat-mode=0
obfs4 <ip>:<port> <secret> cert=<cert> iat-mode=0
ports:
- 8118:8118
- 9050:9050
Start it:
docker compose up -d
Docker run
Alpine image:
docker run -d \
-p 8118:8118 \
-p 9050:9050 \
--user [UID:GID] \
--name torprivoxy \
--restart unless-stopped \
ghcr.io/avpnusr/torprivoxy:latest
Debian image:
docker run -d \
-p 8118:8118 \
-p 9050:9050 \
--user [UID:GID] \
--name torprivoxy \
--restart unless-stopped \
ghcr.io/avpnusr/torprivoxy:latest-debian
Configuration
Default Tor behavior
Bridge relay is disabled by default:
SOCKSPort 0.0.0.0:9050
ExitPolicy reject *:*
BridgeRelay 0
Privoxy forwarding
Privoxy listens on 8118 and forwards to Tor on 9050:
listen-address 0.0.0.0:8118
forward-socks5t / localhost:9050 .
Using bridges (BRIDGE env)
If BRIDGE is set, the entrypoint appends:
UseBridges 1ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy- one
Bridge ...line perBRIDGEline
Use a multiline environment value (as shown in the compose example).
Healthcheck
The container includes a Docker HEALTHCHECK that verifies onion reachability via Privoxy by requesting DuckDuckGo’s .onion endpoint.
Verify it works
HTTP proxy (Privoxy):
curl -x http://127.0.0.1:8118 https://check.torproject.org/
SOCKS5 proxy (Tor):
curl --socks5-hostname 127.0.0.1:9050 https://check.torproject.org/
Credits
Kudos to rdsubhas for inspiration around startup/service patterns.
Install Torprivoxy on Unraid in a few clicks.
Find Torprivoxy in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allLinks
Details
avpnusr/torprivoxy:latestRuntime arguments
- Network
bridge- Shell
sh- Privileged
- false
Template configuration
HTTP Proxy
- Target
- 8118
- Default
- 8118
- Value
- 8118
SOCKS5 proxy
- Target
- 9050
- Default
- 9050
- Value
- 9050