Skip to main content
Glama

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
NameRequiredDescriptionDefault
allow_ssh_fromNo0.0.0.0/0
firewall_group_idYes

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rsp2k/mcp-vultr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server