mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
iiab-vpn PR #3800 doc: Table of IPs/usernames/etc
This commit is contained in:
parent
e98cd76ec0
commit
086087b65b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ echo -e " tailscale down\n"
|
|||
echo -e "\e[4mTo permanently log out of VPN:\e[0m\n"
|
||||
echo -e " tailscale logout\n"
|
||||
|
||||
# More useful output than 'tailscale status'
|
||||
# More useful table of IPs/usernames/etc than 'tailscale status'
|
||||
echo -e "\e[44;1mVPN peers: (rightmost column = online/offline)\e[0m\n"
|
||||
tailscale status --json | jq -r '.Self,.Peer[] | .Tags[] + " " + .TailscaleIPs[] + " " + .HostName + " " + .DNSName + " " + .OS + " " + .Relay + " " + (.Online|tostring)' | sort -V | column -t
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue