setup_web_server_rules
Configure essential firewall rules for web servers by allowing HTTP, HTTPS, SSH, and ICMP traffic with customizable SSH access restrictions.
Instructions
Set up common firewall rules for a web server.
Args: firewall_group_id: The firewall group ID or description (e.g., "web-servers" or UUID) allow_ssh_from: IP subnet to allow SSH from (default: anywhere)
Returns: List of created firewall rules
Creates rules for:
HTTP (port 80) from anywhere
HTTPS (port 443) from anywhere
SSH (port 22) from specified subnet
ICMP (ping) from anywhere
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allow_ssh_from | No | 0.0.0.0/0 | |
| firewall_group_id | Yes |