WireHub icon indicating copy to clipboard operation
WireHub copied to clipboard

Bootstrapping Locally

Open turbo opened this issue 5 years ago • 1 comments

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?

turbo avatar Jun 22 '19 08:06 turbo

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.

fuero avatar Jun 23 '19 09:06 fuero