This is an unsupported configuration created by the community
To enhance your privacy you might want to route all or part of your Browser Traffic over Tor.
The easiest and most reliable solution would be to use the Tor Browser. Though that won't use your Pi-hole DNS Server out of the box. You can however disable
Proxy DNS when using SOCKS v5 in Tor Browsers Preferences -> Advanced -> Network -> Settings and make sure to point your system to use Pi-hole with DNS over Tor activated.
/etc/tor/torrc on your Pi-hole as root, include the following line at the end and save the changes
Note: You should make sure that only your LAN devices are able to access your Pi-hole on port 9050.
sudo service tor restart
Point your browser to use your Pi-hole IP or Hostname (e.g.
Port 9050 as Socks5 Proxy. Do not enable
Proxy DNS when using SOCKS v5 and make sure to point your system to use Pi-hole with DNS over Tor activated.
For Firefox you can either use e.g. the FoxyProxy Add-on or configure the Socks5 Proxy directly in the Firefox Preferences. If you use a Proxy Add-on/Extension you can also e.g. route everything per default over Tor and only whitelist some sites that you need to perform really good.
Accessing .onion addresses¶
If you want to access .onion addresses with this kind of setup you have to activate Transparent Access to Tor Hidden Services on the Pi-hole host.
- Don't define other regular Upstream DNS Servers than the Tor one if you want to avoid that your Pi-hole makes plaintext DNS requests.
From the Tor Manual regarding
This port only handles A, AAAA, and PTR requests