3.5 KiB

title tags updated description
Tiny Tiny RSS over TOR
2021-03-21 18:14 Runinng TT-RSS over TOR

Table of contents


  1. install and cofugure TOR, Privoxy and TT-RSS

    apt-get install tor privoxy tt-rss
  2. configure privoxy. Add this to /etc/privoxy/config

    forward-socks5 / .
  3. follow the ArchWiki instructions using MariaDB as backend. Also follow these instructions to configure MariaDB

  4. follow the install setup of TT-RSS

  5. add this to you Apache virtual host

    DocumentRoot "/usr/share/tt-rss/www"
    <Directory "/usr/share/tt-rss/www">
        AllowOverride All
        Options FollowSymlinks
        php_admin_value open_basedir "/tmp/:/usr/share/tt-rss/www/lib/dijit:/usr/share/tt-rss/www/lib/dojo:/usr/share/tt-rss/www/lib/phpqrcode:/usr/share/tt-rss/www/lib/scriptaculous:/usr/share/tt-rss/www/include:/var/lib/tt-rss:/usr/share/tt-rss/www/lib:/usr/share/tt-rss/www:/usr/share/php:/etc/tt-rss:/var/log/tt-rss:/var/cache/tt-rss"
        Require all granted
    Include /etc/letsencrypt/options-ssl-apache.conf
    SSLCertificateFile /etc/letsencrypt/live/
    SSLCertificateKeyFile /etc/letsencrypt/live/


  1. have a look at Since then the variables have changed and so here are some adaptations:

    1. apt search tt-rss and get the version:

      tt-rss/stable,now 18.12+dfsg-1.1 all [installed]
      Tiny Tiny RSS - web-based news feed (RSS/Atom) aggregator
    2. find a commit in the source code corresponsing to that version

git clone cd tt-rss git checkout 986ca251f995f7754a0470d3e0c44538a545081f # This commit roughly corresponds to version 18.12 as identified earlier. ```

  1. search for PROXY strings:

grep -rn PROXY * ```

  which results in:


include/functions.php:376: if (defined('_HTTP_PROXY')) { include/functions.php:377: curl_setopt($ch, CURLOPT_PROXY, _HTTP_PROXY); include/functions.php:484: if (defined('_HTTP_PROXY')) { include/functions.php:486: $context_options['http']['proxy'] = _HTTP_PROXY; plugins/af_unburn/init.php:40: if (defined('_CURL_HTTP_PROXY')) { plugins/af_unburn/init.php:41: curl_setopt($ch, CURLOPT_PROXY, _CURL_HTTP_PROXY); ```

  1. add the following at the end of /etc/tt-rss/config.php. These variables should cover even more recent TT-RSS versions:

define('HTTP_PROXY', ''); define('_HTTP_PROXY', ''); define('_CURL_HTTP_PROXY', ''); define('SELF_USER_AGENT', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0'); ```

  1. finally restart the services: systemctl restart tt-rss apache2 privoxy


  1. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Author: Martin Scharm ↩︎