Skip to main content
Glama

hostinger-api-mcp

Official

VPS_updateFirewallRuleV1

Update specific firewall rules to modify protocols, ports, or sources. Ensure virtual machines sync manually post-update for consistent security configurations.

Instructions

This endpoint updates a specific firewall rule from a specified firewall.

Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.

Input Schema

NameRequiredDescriptionDefault
firewallIdYesFirewall ID
portYesPort or port range, ex: 1024:2048
protocolYesprotocol property
ruleIdYesFirewall Rule ID
sourceYessource property
source_detailYesIP range, CIDR, single IP or `any`

Input Schema (JSON Schema)

{ "properties": { "firewallId": { "description": "Firewall ID", "type": "integer" }, "port": { "description": "Port or port range, ex: 1024:2048", "type": "string" }, "protocol": { "description": "protocol property", "enum": [ "TCP", "UDP", "ICMP", "GRE", "any", "ESP", "AH", "ICMPv6", "SSH", "HTTP", "HTTPS", "MySQL", "PostgreSQL" ], "type": "string" }, "ruleId": { "description": "Firewall Rule ID", "type": "integer" }, "source": { "description": "source property", "enum": [ "any", "custom" ], "type": "string" }, "source_detail": { "description": "IP range, CIDR, single IP or `any`", "type": "string" } }, "required": [ "firewallId", "ruleId", "protocol", "port", "source", "source_detail" ], "type": "object" }

You must be authenticated.

Other Tools from hostinger-api-mcp

Related Tools

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/hostinger/api-mcp-server'

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