Jump to content

Nebula: Difference between revisions

m
no edit summary
imported>C4lliope
(Raise concerns around NAT and port forwarding.)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
== Lighthouse Node ==
== Lighthouse Node ==


In Nebula, a "lighthouse" is a signaling node accessible through a public IP address, using UDP port 4242. A simple configuration may look like:
In Nebula, a "lighthouse" is a signaling node accessible through a public IP address, using UDP port 4242.
 
Because you're likely using a cloud server option for your lighthouse, there is a chance you'll be unable to use NixOS on that node. Double check the [[NixOS_friendly_hosters| NixOS friendly hosters article]] your options for running NixOS in the cloud], or choose a secondary distribution and look for the <code>nebula</code> package, and go through [https://nebula.defined.net/docs/guides/quick-start/ the Quick Start guide].
 
 
A simple configuration may look like:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 18: Line 23:
</syntaxhighlight>
</syntaxhighlight>


Because you're likely using a VPS server for your lighthouse, there is a chance you'll be unable to use NixOS on that node. Check the package manager of your distribution for the <code>nebula</code> package, and go through the Quick Start guide: https://nebula.defined.net/docs/guides/quick-start/


Here is a quick process for making a certificate authority (<code>ca</code>) and a certificate for a lighthouse node, called "<code>beacon</code>".
Here is a quick process for making a certificate authority (<code>ca</code>) and a certificate for a lighthouse node, called "<code>beacon</code>".
Line 32: Line 36:
Of these four files produced, you should do as much as you can to keep <code>ca.key</code> secure.
Of these four files produced, you should do as much as you can to keep <code>ca.key</code> secure.


(...more coming soon...)
[[Category:Networking]]
<syntaxhighlight lang="nix">
</syntaxhighlight>
<syntaxhighlight lang="nix">
</syntaxhighlight>
<syntaxhighlight lang="nix">
</syntaxhighlight>
trusted
602

edits