docker-stacks/tor-privoxy
2021-12-20 20:29:50 +03:00
..
config tor-privoxy. Adding bridges config example to the config/torrc.dist. 2021-12-20 20:20:14 +03:00
.env.dist tor-privoxy. Adding bridges. 2021-12-16 23:07:13 +00:00
docker-compose.yml tor-privoxy. Switching to my image version with obfs4proxy added. 2021-12-20 20:12:00 +03:00
README.md tor-privoxy. Adding README.md. Also updating root README.md. 2021-12-20 20:29:50 +03:00

Installation

# Create config file
cp config/torrc.dist config/torrc

# Edit config
nano -w config/torrc

# Create ENV file
cp .env.dist .env

# Edit ENV file (if needed)
nano -w .env

# Run services using Docker Compose V1
docker-compose up -d

# Docker Compose V2
docker compose up -d

Using Tor Bridges

Uncomment the UseBridges and ClientTransportPlugin directives in the config/torrc.

Go to bridges.torproject.org and get some bridges. If it's blocked, you can also use Telegram Bot or write an email to bridges@torproject.org.

Add one Bridge directive for each bridge you've got like that:

If you've got two bridges:

obfs4 1.2.3.4:1234 ABCD cert=xxx
obfs4 2.3.4.5:2345 BCDE cert=yyy

Add this to your config/torrc (do not forget to replace with real bridge address):

Bridge obfs4 1.2.3.4:1234 ABCD cert=xxx
Bridge obfs4 2.3.4.5:2345 BCDE cert=yyy