From 086087b65bf1b28b3f0443b468b1a70416057893 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 18 Sep 2024 19:51:15 -0400 Subject: [PATCH] iiab-vpn PR #3800 doc: Table of IPs/usernames/etc --- roles/tailscale/templates/iiab-vpn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/tailscale/templates/iiab-vpn b/roles/tailscale/templates/iiab-vpn index a7ea67298..81cbe332c 100755 --- a/roles/tailscale/templates/iiab-vpn +++ b/roles/tailscale/templates/iiab-vpn @@ -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