Skip to content

Instantly share code, notes, and snippets.

@jbelke
Forked from dignifiedquire/README.md
Created February 6, 2019 17:50
Show Gist options
  • Save jbelke/f6b5af42bf32dd1766fa57158b9f6fbe to your computer and use it in GitHub Desktop.
Save jbelke/f6b5af42bf32dd1766fa57158b9f6fbe to your computer and use it in GitHub Desktop.
IPFS on Zerotier
  1. Setup your own Zerotier network, either using your own server or the provided one.
  2. Ensure the network provides ip4 and ip6 addresses

On all machines you want to connect

1. Install Zerotier

2. Install IPFS 0.4 (from source at the moment, see Instructions here)

3. Join Zerotiernetwork

  • Add the Zerotier id to the network
  • Join the network
  • Note down ip4 and ip6 addresses you are assigned

4. Setup IPFS

  • Run ipfs init
  • Update ~/.ipfs/config
// ...
  "Addresses": {
    "Swarm": [
      "/ip4/<ip4 from zerotier>/tcp/4001"
      "/ip6/<ip6 from zerotier/tcp/4001"
    ],
// ...
  • Remove all entries under "Bootstrap" and "SupernodeRouting": {"Servers"}"

  • Start IPFS using ipfs daemon

Have fun with your own private IPFS network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment