| Crates.io | ztui |
| lib.rs | ztui |
| version | 0.1.7 |
| created_at | 2023-05-04 06:46:27.732416+00 |
| updated_at | 2023-05-18 17:13:47.781678+00 |
| description | ztui is a terminal UI for zerotier |
| homepage | https://github.com/erikh/ztui |
| repository | https://github.com/erikh/ztui |
| max_upload_size | |
| id | 856302 |
| size | 392,737 |
ztui aims to be a frontend for all interactions with ZeroTier in an attempt to transform how people work with it. It provides the following features:
$EDITOR against a file of network rules (and save them back to central)Networks List View:

Members List / Network View:

Get Rust 1.60 or better if you need to. You'll need it.
cargo install ztui
You may also appreciate our GitHub Releases!
After you start ztui for the first time, $HOME/.config.zerotier/settings.json will be created for you with your last-saved network information. Now, what we want to do is create $HOME/.config.zerotier/config.json and add something like this:
{
"network_commands": {
"1": "/bin/tcpdump -i %i"
},
"member_commands": {
"1": "/bin/iperf -c %a"
}
}
Network format strings available:
%i: the interface of the ZeroTier network%n: the network ID of the ZeroTier network%a: the first addresses in the list of assigned IP addressesIn this case, it would allow me to press 1 over a network to tcpdump its interface; then I would control+C out of it to come back to ztui.
Member format strings available:
%n: the network ID of the ZeroTier network%i: the identity of the member of this ZeroTier network%a: the first assigned IP address of this member%N: the name (not the fqdn!) of the ZeroTier network member as it appears in centralIn the above example, it allows me to start an iperf client against the address of the selected member.
Erik Hollensbe git@hollensbe.org