timeweb_create_firewall_rule
Create inbound or outbound firewall rules for Timeweb Cloud groups by defining protocol, port, and CIDR range.
Instructions
Create a new firewall rule in a group
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | CIDR block (e.g., '0.0.0.0/0' for any, '192.168.1.0/24' for specific subnet) | |
| port | No | Port or port range (e.g., '22', '80-443', or empty for all) | |
| format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | |
| group_id | Yes | Firewall group ID | |
| protocol | Yes | Network protocol | |
| direction | Yes | Traffic direction (ingress = incoming, egress = outgoing) | |
| description | No | Rule description |