Última actividad 1 month ago

Revisión 43beba6de06ec698c08645449c14c9d3087bc28c

gistfile1.txt Sin formato
1root@wireguard:/# wgctl group list
2
3────────────────────────────────────────────────
4 Groups
5────────────────────────────────────────────────
6
7 NAME DESCRIPTION PEERS STATUS
8 ───────────────────────────────────────────────────────────────────────────
9 family Family 2 active
10
11root@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
17root@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
28root@wireguard:/# wgctl group list
29
30────────────────────────────────────────────────
31 Groups
32────────────────────────────────────────────────
33
34 NAME DESCRIPTION PEERS STATUS
35 ───────────────────────────────────────────────────────────────────────────
36 family Family 2 1/2 blocked
37
38root@wireguard:/# wgctl block --name tablet-nuno
39=> WARN: ⚠️ 🔒 Client is already blocked: tablet-nuno
40root@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
51root@wireguard:/# wgctl group list
52
53────────────────────────────────────────────────
54 Groups
55────────────────────────────────────────────────
56
57 NAME DESCRIPTION PEERS STATUS
58 ───────────────────────────────────────────────────────────────────────────
59 family Family 2 active