wgctl group block --name test
/etc/wireguard/wgctl/core/json_helper.py
=> DEBUG: 🔍  Blocked all traffic from: 10.1.3.5
=> DEBUG: 🔍  apply_full: calling block::add_rule for phone-test 10.1.3.5
=> DEBUG: 🔍  block::add_rule: file=/etc/wireguard/.wgctl/blocks/phone-test.block type=full name=full block
=> DEBUG: 🔍  block::add_rule: done, file contents:
{
  "peer_ip": "10.1.3.5",
  "blocked_direct": false,
  "blocked_by_groups": [
    "test"
  ],
  "rules": [
    {
      "type": "full",
      "name": "full block"
    }
  ]
}=> DEBUG: 🔍  apply_full: after block::add_rule
=> DEBUG: 🔍  Watching: phone-test ((none))
=> DEBUG: 🔍  Removed peer from server config: phone-test
=> DEBUG: 🔍  WireGuard config reloaded
/etc/wireguard/wgctl/core/json_helper.py
=> DEBUG: 🔍  Blocked all traffic from: 10.1.3.6
=> DEBUG: 🔍  apply_full: calling block::add_rule for phone-test1 10.1.3.6
=> DEBUG: 🔍  block::add_rule: file=/etc/wireguard/.wgctl/blocks/phone-test1.block type=full name=full block
=> DEBUG: 🔍  block::add_rule: done, file contents:
{
  "peer_ip": "10.1.3.6",
  "blocked_direct": false,
  "blocked_by_groups": [
    "test"
  ],
  "rules": [
    {
      "type": "full",
      "name": "full block"
    }
  ]
}=> DEBUG: 🔍  apply_full: after block::add_rule
=> DEBUG: 🔍  Watching: phone-test1 ((none))
=> DEBUG: 🔍  Removed peer from server config: phone-test1
=> DEBUG: 🔍  WireGuard config reloaded
=> INFO: 🚫 🔒  All peers from test have been blocked (2 peers).