Repository navigation
nebctl v0.5.0
Admin console
sudo nebctl webOpens a console in your browser, served on 127.0.0.1 only behind a one-time link:
- Map: the network as this machine sees it, from nebula's own admin server (
list-hostmapand the rest). It shows direct and relayed tunnels and hosts still handshaking. Click a host for its cert, addresses and relays, and to close or re-open its tunnel, try another address, or ask the lighthouse where it is. - Hosts: the same as a table, plus the lighthouse's address map.
- Certificates: on the CA host, sign a cert for a new host or sign a request, renew one, or revoke one and push the blocklist to other machines.
- Config: firewall rules, the lighthouse's DNS, relay and port, a node's lighthouses, log level and format, and Prometheus metrics. Changes must pass
nebula -testand apply with a reload where nebula allows. - Logs: nebula's log, live, and SIEM forwarding. On Linux, nebula switches to JSON logs and an rsyslog rule sends them to your SIEM's syslog input over UDP, TCP or TLS.
- Health: versions and updates, the service, cert and CA expiry, metrics, and the security audit.
Lighthouses over SSH: connect the console to another machine with a password, key file or ssh-agent. You confirm its host key the first time. The console runs sudo nebctl app ... there, so the CA key never leaves the lighthouse. If nebctl is missing or older there, it installs a matching one.
Admin access: nebctl now turns on nebula's SSH admin server for new setups, on 127.0.0.1:2242 for a key only nebctl holds. Hosts set up earlier get a Turn on admin access button in the console, which restarts nebula once.
Nebula Node
Open Admin Console starts the console after one password prompt and shows it in its own window, with Open in browser to move it. The app carries Linux builds of its nebctl to install on a lighthouse.
Notes
- nebctl now depends on
golang.org/x/crypto(SSH). - Tested against nebula 1.11.2 with a lighthouse and a node on localhost, and with an in-process SSH server. Not yet tried on a real Linux lighthouse: systemd reload, rsyslog, and SSH with sudo there.