Ultima attività 1 month ago

Revisione 8bf0778536894e752d277f69be6664bf61ac039d

gistfile1.txt Raw
1root@wireguard:~# wgctl inspect --name phone-nuno
2
3────────────────────────────────────────────────
4 Inspect: phone-nuno
5────────────────────────────────────────────────
6
7 ── Client ─)
8 Name: phone-nuno
9 IP: 10.1.3.1
10 Type: phone
11 Rule: admin
12 Status: online
13 Endpoint: 148.69.50.138
14 Last seen: 2026-05-10 17:57 (handshake)
15 AllowedIPs: 0.0.0.0/0
16 Public key: Fo5Y80l5Woh/kqzApU0OeVqaNJUUa17ojG6XH4USnVQ=
17
18 ── Rule: admin ─)
19 Description: Full access
20 DNS Redirect: false
21 Allows: —
22 Blocks: — (full access)
23
24 ── Groups ─)
25 family 2 peers
26
27 ── Firewall ─)
28 Active rules: 0
290
30/etc/wireguard/wgctl/commands/inspect.command.sh: line 147: [[: 0
310: syntax error in expression (error token is "0")