CLI

Every entry node includes an interactive command-line interface for direct access to the node state. The CLI is automatically disabled when stdin is not a terminal (e.g., in Docker or when running as a daemon).

Commands

CommandAliasesDescription
ping [<peer>]-Measure latency to a peer
info-Show daemon info
version-Show version
stats-Show traffic statistics
peers-List connected peers
route add <cidr> [via] <peer>-Add a route
route del <cidr>-Remove a route
route listrouteList configured routes
connect <addr>-Connect to a peer
listen <addr>-Start listening for connections
disconnect [peer]-Disconnect peer
shutdown-Shut down the daemon
help?Show this help
quitexitQuit the REPL

Example Session

wallhack> peers
NAME   CAPABILITY  ADDR              STATUS     LATENCY
peer1  Exit        10.0.1.5:52341    Connected  1.2ms

wallhack> route add 10.0.0.0/8 via peer1
OK

wallhack> route list
CIDR        PEER
10.0.0.0/8  peer1