Skip to content

CLI Reference

The nylon command is the primary way to interact with your network.

Starts the Nylon daemon.

FlagShortDescription
--config-cPath to central.yaml.
--node-nPath to node.yaml.
--verbose-vEnable verbose output.
--json-jEnable structured JSON logging.

Generates a new WireGuard keypair.

  • Stdout: Private key.
  • Stderr: Public key.

Shows the current status of a running Nylon interface.

Terminal window
nylon inspect nylon
  • -t, --trace: Enables live packet routing capture, showing how packets are being forwarded through the overlay.

These flags can be used with nylon run to diagnose issues:

  • --dbg-wg: Output internal WireGuard logs.
  • --dbg-trace-tc: Log every packet routing decision.
  • --dbg-perf: Start a performance profiling server on port 6060.