mr-ransel / addon-nebula

Home Assistant addon for slackhq/nebula
MIT License
17 stars 4 forks source link

addon-nebula

Home Assistant addon for slackhq/nebula

Still in development, but as far as my use cases it appears fully functional. After I get some feedback I'll turn it into more than a locally-installed addon with some better docs.

Getting Started

Run modes:

Quickstart - UI configured Lighthouse and Cert Authority

If you've never used nebula and don't have detailed custom configuration needs, this is where to start.

Slightly harder - Run your own Cert Authority or Lighthouse

Run your own CA

As a security best practice, it's best not to store all your keys and certificates in one place. Or perhaps you just already manage all your nebula certificates somewhere else.

Run your own Lighthouses

If you already have your own nebula mesh running and don't want to use this add-on as a lighthouse, then you can host and configure your own lighthouse and just use this addon as a simple nebula node, or optionally use it as an easy way to generate your certificates.

Power User - Write your own config

If you already use nebula, or the existing templates just don't work for your usecase, you can always write your own config from scratch and ignore all the generated configs based on the UI.

Configuration

Sorry, bad news. I haven't gotten to totally documenting this yet, but you can look at the nebula/examples/addon_config_example.yaml and config.yaml files in this repo to see what the structure of the fields is and what they do.

I also haven't implemented the public_key field, so if you want to use that for cert generation, you'll need to put the public key in the nodes folder and reference it in the extra_args field instead.

Required Config changes to forward traffic to non-nebula hosts:

Note:

Handy Tooling