Ultima attività 1 month ago

nuno ha revisionato questo gist 1 month ago. Vai alla revisione

1 file changed, 59 insertions

gistfile1.txt(file creato)

@@ -0,0 +1,59 @@
1 + root@wireguard:/# wgctl group list
2 +
3 + ────────────────────────────────────────────────
4 + Groups
5 + ────────────────────────────────────────────────
6 +
7 + NAME DESCRIPTION PEERS STATUS
8 + ───────────────────────────────────────────────────────────────────────────
9 + family Family 2 active
10 +
11 + root@wireguard:/# wgctl block --name tablet-nuno
12 +
13 + ────────────────────────────────────────────────
14 + Blocking client: tablet-nuno (10.1.4.1)
15 + ────────────────────────────────────────────────
16 + /etc/wireguard/wgctl/commands/block.command.sh: line 123: force: unbound variable
17 + root@wireguard:/# wgctl block --name tablet-nuno --force
18 +
19 + ────────────────────────────────────────────────
20 + Blocking client: tablet-nuno (10.1.4.1)
21 + ────────────────────────────────────────────────
22 + => INFO: 🚫 🔒 Blocked all traffic from: 10.1.4.1
23 + => INFO: 🚫 🔒 Persisted block rule for: tablet-nuno
24 + => INFO: 🔒 Watching: tablet-nuno ((none))
25 + => INFO: ➖ 🔒 Removed peer from server config: tablet-nuno
26 + => SUCCESS: ✅ 🔒 WireGuard config reloaded
27 + => SUCCESS: ✅ 🔒 Client blocked: tablet-nuno
28 + root@wireguard:/# wgctl group list
29 +
30 + ────────────────────────────────────────────────
31 + Groups
32 + ────────────────────────────────────────────────
33 +
34 + NAME DESCRIPTION PEERS STATUS
35 + ───────────────────────────────────────────────────────────────────────────
36 + family Family 2 1/2 blocked
37 +
38 + root@wireguard:/# wgctl block --name tablet-nuno
39 + => WARN: ⚠️ 🔒 Client is already blocked: tablet-nuno
40 + root@wireguard:/# wgctl unblock --name tablet-nuno
41 +
42 + ────────────────────────────────────────────────
43 + Unblocking client: tablet-nuno (10.1.4.1)
44 + ────────────────────────────────────────────────
45 + => INFO: ✅ 🔒 Unblocked all traffic from: 10.1.4.1
46 + => INFO: ✅ 🔒 Removed block file for: tablet-nuno
47 + => INFO: 🔒 Unwatched client: tablet-nuno
48 + => INFO: ➕ 🔒 Added peer to server config: tablet-nuno
49 + => SUCCESS: ✅ 🔒 WireGuard config reloaded
50 + => SUCCESS: ✅ 🔒 All block rules removed for: tablet-nuno
51 + root@wireguard:/# wgctl group list
52 +
53 + ────────────────────────────────────────────────
54 + Groups
55 + ────────────────────────────────────────────────
56 +
57 + NAME DESCRIPTION PEERS STATUS
58 + ───────────────────────────────────────────────────────────────────────────
59 + family Family 2 active
Più nuovi Più vecchi