Actions

ZeroNet

ZeroNet - Decentralized websites

Introduction[edit]

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.

https://zeronet.readthedocs.io/en/latest/


Connecting to Tor before ZeroNet[edit]

User -> Tor -> ZeroNet -> Internet

Since ZeroNet is not yet packaged for Debian, it must be manually installed. [1] [2]


Inside Whonix-Gateway (Qubes-Whonix: sys-whonix).

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_zeronet.yml /usr/local/etc/onion-grater-merger.d/

Restart onion-grater.

sudo service onion-grater restart


To download and verify Zeronet via git, run the following commands in a terminal inside Whonix-Workstation:

First install dependencies.

Qubes-Whonix: If the ZeroNet qube is based on a template, complete this action in the template.

Update the package lists.

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

Install ZeroNet:

Qubes-Whonix: The actual install can be done in the ZeroNet qube.

Retrieve ZeroNet's signing key. [4]

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

Download ZeroNet.

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

Change into the ZeroNet folder.

cd ZeroNet

Check the ZeroNet signature.

git log --show-signature


Start ZeroNet:

Qubes-Whonix:

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

Non-Qubes-Whonix:

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


Note: this is no longer required once we release custom Tor Browser for connecting to alternative networks, except in the case of YaCy that needs internet access.

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).

torbrowser


Navigate to the ZeroNet web interface. Paste http://127.0.0.1:43110 into Tor Browser's url field and press enter.

The process is now complete and ZeroNet can be used. Note that full ZeroNet functionality has been confirmed in Whonix. [5]

Footnotes[edit]

  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
  5. As at May 2018.

Random News:

We are looking for maintainers and developers.


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?)