Skip to content

outboundctl groups

outboundctl groups: list, create, rename, subscribe to, turn on or off, refresh, approve, move rules into and remove rule groups.

Outbound 1.5.3 · Updated

outboundctl groups manages rule groups: local groups you fill with your own rules, and remote groups you subscribe to in the .lsrules format. Every command except list is a change. It follows the edit policy, waits for your approval in Outbound unless the policy lets it through, and accepts --dry-run, --plan and --no-wait.

A group is named by its name or its UUID.

Terminal window
outboundctl groups list

Prints the groups as JSON, with each group’s UUID.

Terminal window
outboundctl groups create <name> [--description <text>]
outboundctl groups set <name-or-uuid> [--name <text>] [--description <text>]

set needs --name, --description or both.

Terminal window
outboundctl groups subscribe <name> --url <https-url> [--pin <sha256>] [--description <text>]

Downloads the group, checks it, and asks to add it. --pin is the SHA-256 the downloaded content must match. As with blocklists, new allow rules in a group wait for your approval before they apply.

Turning a group on or off, and refreshing it

Section titled “Turning a group on or off, and refreshing it”
Terminal window
outboundctl groups enable <name-or-uuid>
outboundctl groups disable <name-or-uuid>
outboundctl groups refresh <name-or-uuid>

refresh downloads a remote group again. A refresh that changes the group’s rules waits for review.

Terminal window
outboundctl groups approve <name-or-uuid> --confirm [--rules <uuid,uuid,…>]

Confirms a reviewed refresh, or the group’s pending allow rules. --confirm is required. --rules names the pending allow rules to approve; allows you leave out stay pending.

Terminal window
outboundctl groups move <name-or-uuid> --rules <uuid,uuid,…>
outboundctl groups move --ungroup --rules <uuid,uuid,…>

Moves editable local rules into a local group, or with --ungroup out of their groups. --ungroup takes no group name.

Terminal window
outboundctl groups remove <name-or-uuid> [--keep-rules]
outboundctl groups delete <name-or-uuid> [--keep-rules]
outboundctl groups unsubscribe <name-or-uuid> [--keep-rules]

remove deletes a local group or unsubscribes from a remote one. delete removes the group and its rules. unsubscribe works only on remote groups. With --keep-rules, the group’s installed rules stay, outside any group, instead of being deleted.

Success exits 0, and a change still waiting for approval exits 75. Bad syntax exits 64. A group that cannot be read, checked or refreshed exits 65. Edit-policy refusals exit 77. See exit codes.