Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Bootstrapping Locally #7

Open
turbo opened this issue Jun 22, 2019 · 1 comment
Open

Bootstrapping Locally #7

turbo opened this issue Jun 22, 2019 · 1 comment

Comments

@turbo
Copy link

turbo commented Jun 22, 2019

Looks like to bootstrap, connections are made to bootstrap.wirehub.io. What is running on that server and how can I run it locally/for myself?

@fuero
Copy link

fuero commented Jun 23, 2019

I'm using this config for my bootstrap nodes:

name mynet
namespace public
workbit 8

boot    <bootstrap-node1's public key> bootstrap-node1:62096
boot    <bootstrap-node2's public key> bootstrap-node2:62096

peer <peer1's public key>
peer <peer2's public key>

I do not want the bootstrap nodes to participate in the network, I just want them to distribute packets.

The config for a node that participates in the network looks like this:

name mynet
namespace public
subnet 192.168.x.0/24
workbit 8

boot    <bootstrap-node1's public key> bootstrap-node1:62096
boot    <bootstrap-node2's public key> bootstrap-node2:62096

trust   peer1.vpn      192.168.x.1    <peer1's public key>
trust   peer2.vpn      192.168.x.2    <peer1's public key>

I didn't gather from the docs how information about the peers propagates - so I made it explicit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants