Jump to: navigation, search


ZeroNet - Decentralized websites


ZeroNet uses Bitcoin cryptography and BitTorrent technology to build a decentralized censorship-resistant network.

Users can publish static or dynamic websites into ZeroNet and visitors can choose to also serve the website. Websites will remain online even if it is being served by only one peer.


Connecting to Tor before ZeroNet[edit]

User -> Tor -> ZeroNet -> Internet

Since there is no package of ZeroNet in Debian yet, you have to manually install it. [1] [2]

Inside Whonix-Gateway.

Extend onion-grater Whitelist

On Whonix-Gateway.

Create a new directory. [3]

sudo mkdir -p /usr/local/etc/onion-grater-merger.d/

Symlink the onion-grater profile to the onion-grater settings folder.

sudo ln -s /usr/share/onion-grater-merger/examples/40_onionshare.yml /usr/local/etc/onion-grater-merger.d/

Restart onion-grater.

sudo service onion-grater restart

Run the following commands in a terminal inside Whonix-Workstation to download and verify Zeronet via git:

Get ZeroNet's signing key. [4]

gpg --recv-keys "960F FF2D 6C14 5AA6 13E8 491B 5B63 BAE6 CB96 13AE"

Update the package lists.

sudo apt-get update

Install dependencies.

sudo apt-get install git python-msgpack python-gevent

Get ZeroNet.

git clone https://github.com/HelloZeroNet/ZeroNet.git

Get into ZeroNet folder.

cd ZeroNet

Check ZeroNet signature.

git log --show-signature

Start ZeroNet:


./zeronet.py --tor always --fileserver_ip $(qubesdb-read /qubes-ip)


./zeronet.py --tor always --fileserver_ip

Configure Tor Browser to connect to localhost.

In Tor Browser type about:config into the URL bar -> press Enter -> search for network.proxy.no_proxies_on -> Set to 0

Start Tor Browser.

If you are using Qubes-Whonix.

Qubes Start Menu -> Whonix-Workstation AppVM (commonly called anon-whonix) -> Tor Browser

If you are using Non-Qubes-Whonix.

Start Menu -> Tor Browser

If you are using a terminal (Konsole).


Go to the ZeroNet web interface. Paste into Tor Browser's url field and press enter.

Done. You can now use ZeroNet.


  1. https://github.com/HelloZeroNet/ZeroNet/issues/241
  2. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850474
  3. Using /usr/local/etc/onion-grater-merger.d/ because that onion-grater settings folder is persistent in Qubes-Whonix TemplateBased ProxyVMs, i.e. Whonix-Gateway (commonly called sys-whonix). Non-Qubes-Whonix users could also use /etc/onion-grater-merger.d/. Qubes-Whonix users could also use /etc/onion-grater-merger.d/ but then users would have to make /etc/onion-grater-merger.d/ persistent, which would require doing this inside the Whonix-Gateway TemplateVM (commonly called whonix-gw) and restart their Whonix-Gateway ProxyVM or to use bind-dirs. Both is more more complicated than simply using /usr/local/etc/onion-grater-merger.d/ which is persistent either way and even allows multiple Whonix-Gateway ProxyVMs based on the same Whonix-Gateway TemplateVM for lets say one Whonix-Gateway ProxyVM extending and relaxing onion-grater's whitelist and the other Whonix-Gateway ProxyVM with the default more restricted onion-grater whitelist.
  4. https://github.com/HelloZeroNet/ZeroNet/issues/759

Random News:

We are looking for help in managing our social media accounts. Are you interested?

https | (forcing) onion

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! See Conditions for Contributions to Whonix, then Edit! IP addresses are scrubbed, but editing over Tor is recommended. Edits are held for moderation.

Whonix is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Libre Software license as Whonix itself. (Why?)