Add a firewall rule
Security Groups
Add Firewall Rule
Adds a firewall rule to a security group. If the group is already deployed to Proxmox, the rule will be synced automatically.
POST
Add a firewall rule
Authorizations
API token from your CloudBlast account settings. Pass as Authorization: Bearer <token>.
Path Parameters
Security group ID
Body
application/json
Available options:
inbound, outbound Example:
"inbound"
Available options:
ACCEPT, REJECT, DROP Example:
"ACCEPT"
Protocol (e.g., tcp, udp, icmp)
Maximum string length:
20Example:
"tcp"
Source IP/CIDR
Example:
"0.0.0.0/0"
Destination IP/CIDR
Source port or range
Maximum string length:
50Destination port or range (e.g., 80, 8000:9000, 80,443)
Maximum string length:
50Example:
"443"
Optional description
Example:
"Allow HTTPS"
Rule priority (lower = higher priority). Defaults to 0.
Required range:
x >= 0Example:
0
Response
Firewall rule created