Viewing 2 replies - 1 through 2 (of 2 total)
  • Viktor Vizcaíno

    First up, you should know that TOR provides only SOCK5 proxy, and not HTTP proxy that you can run with WordPress. So in order to run your WordPress behind TOR, you first need to make some sort of tunnel through which PHP’s HTTP proxy requests can be sent to TOR’s SOCK5 proxy.

    Here I’m going to explain the procedure using Polipo, which does the job(there are many other ways to do this, like using DeleGate)

    1. Install Polipo

    sudo apt-get install polipo

    This works on the latest Ubuntu Server LTS
    2. Edit the polipo’s config file located at /etc/polipo/config with the following content

    socksParentProxy = localhost:9050
    diskCacheRoot=""
    disableLocalInterface=true
    logSyslog = false
    logFile = /var/log/polipo/polipo.log

    3. Restart polipo proxy server

    service polipo restart

    4. Add these lines in your WordPress’ config files wp-config.php

    define('WP_PROXY_HOST', '127.0.0.1');
    define('WP_PROXY_PORT', '8123');

    Thats it.
    I’m working under the assumption that you already have installed TOR on your server, if not, please use

    apt-get install tor

    On a sidenote, remove the HTTP headers that reveal your server’s software, like

    Server: nginx
    X-Powered-By: PHP/5.4.41-0+deb7u1

    if you want your server to be anonymous.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog in the deep wep with TOR and how to update plugins?’ is closed to new replies.