create_firewall_rule
Add a firewall rule to secure CloudStack MCP Server by specifying IP address, protocol, ports, and CIDR list to control incoming and outgoing traffic.
Instructions
Create a firewall rule
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cidrlist | No | CIDR list (comma-separated) | |
endport | No | End port | |
ipaddressid | Yes | Public IP address ID | |
protocol | Yes | Protocol (tcp, udp, icmp) | |
startport | No | Start port |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"cidrlist": {
"description": "CIDR list (comma-separated)",
"type": "string"
},
"endport": {
"description": "End port",
"type": "number"
},
"ipaddressid": {
"description": "Public IP address ID",
"type": "string"
},
"protocol": {
"description": "Protocol (tcp, udp, icmp)",
"type": "string"
},
"startport": {
"description": "Start port",
"type": "number"
}
},
"required": [
"ipaddressid",
"protocol"
],
"type": "object"
}