raff security-group command group manages Firewall Groups. The dashboard product is called Firewall; the underlying API path is security-groups, which is what the CLI command name reflects. Functionality is the same — see Firewall overview for the model.
To attach a group to a VM, use raff vm sg add (see VM commands → sg add). The CLI doesn’t yet expose Update Rules — use the Update Firewall API directly for now.
Subcommand index
list
templates
web-server, database-server, ssh-only, allow-all, deny-all. Use the id field as --template-id on create to start from a template.
get
create
--template-id web-server), pass rules as JSON via --rules-file, or both (rules merge with template). Rule format follows the Create Firewall API schema:
delete
raff vm sg remove on each VM first.
When changes apply
Changes apply to running VMs with no reboot: saved rules within a few seconds, an attach or detach in about 20 seconds. Connections already open stay open; new connections follow the new rules. See Update rules.Related
VM commands
raff vm sg add to attach to a VM.Firewall overview
The two-layer firewall model.
Inbound vs outbound
Rule format, port ranges, CIDR.