Repository navigation
v0.7.0
Host firewall kept in step with Nebula
Two firewalls see Nebula traffic. Nebula's own firewall decides what other Nebula hosts may reach. The host firewall (ufw) sees every packet, so it has to let Nebula's traffic in too. nebctl now keeps ufw in step on Linux:
- For Nebula itself: a lighthouse's UDP port from the internet. A node needs nothing, because replies and hole punching use its outbound traffic.
- Over Nebula, on
nebula1: every port Nebula's firewall lets in, DNS included. Nebula still decides which hosts and groups get in. - Only its own rules. nebctl tags its rules
nebctland removes them when the config no longer needs them. It never touches other rules. - When it syncs: after every config change, from
sudo nebctl firewall(-checkto only look), and from the console's new Host firewall panel on the Config page. - Audit: it now fails when ufw blocks what Nebula allows over Nebula (for example DNS, which stops
.internalnames resolving), and points tosudo nebctl firewall.
Update the lighthouse to v0.7.0 (the console offers to), then run sudo nebctl firewall.
Install the Mac app
- Download
NebulaNode-macos.zip, unzip it, and drag Nebula Node to Applications. - Then run:
sudo xattr -cr "/Applications/Nebula Node.app"
sudo chown -R root:wheel "/Applications/Nebula Node.app"