Skip to main content
Glama

hostinger-api-mcp

Official

VPS_updateFirewallRuleV1

Modify a specific firewall rule on a virtual machine by updating protocol, port, and source details. Changes require manual sync for affected VMs.

Instructions

Update a specific firewall rule from a specified firewall.

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

Use this endpoint to modify existing firewall rules.

Input Schema

NameRequiredDescriptionDefault
firewallIdYesFirewall ID
portYesPort or port range, ex: 1024:2048
protocolYesprotocol parameter
ruleIdYesFirewall Rule ID
sourceYessource parameter
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 parameter", "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 parameter", "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" }

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