VPS_createFirewallRuleV1
Create a new firewall rule for a specified firewall to allow or block traffic based on protocol, port, and source. Ensure virtual machines sync manually after activation.
Instructions
This endpoint creates new firewall rule from a specified firewall. By default, the firewall drops all incoming traffic, which means you must add accept rules for all ports you want to use.
Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
firewallId | Yes | Firewall ID | |
port | Yes | Port or port range, ex: 1024:2048 | |
protocol | Yes | protocol property | |
source | Yes | source property | |
source_detail | Yes | IP range, CIDR, single IP or `any` |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from hostinger-api-mcp
- billing_cancelSubscriptionV1
- billing_createNewServiceOrderV1
- billing_deletePaymentMethodV1
- billing_getCatalogItemListV1
- billing_getPaymentMethodListV1
- billing_getSubscriptionListV1
- billing_setDefaultPaymentMethodV1
- DNS_deleteZoneRecordsV1
- DNS_getRecordsV1
- DNS_getSnapshotListV1
- DNS_getSnapshotV1
- DNS_resetZoneRecordsV1
- DNS_restoreSnapshotV1
- DNS_updateZoneRecordsV1
- DNS_validateZoneRecordsV1
- domains_checkDomainAvailabilityV1
- domains_getDomainListV1
- VPS_activateFirewallV1
- VPS_attachPublicKeyV1
- VPS_createFirewallRuleV1
- VPS_createNewFirewallV1
- VPS_createNewPublicKeyV1
- VPS_createPostInstallScriptV1
- VPS_createPTRRecordV1
- VPS_createSnapshotV1
- VPS_deactivateFirewallV1
- VPS_deleteAPostInstallScriptV1
- VPS_deleteAPublicKeyV1
- VPS_deleteBackupV1
- VPS_deleteFirewallRuleV1
- VPS_deleteFirewallV1
- VPS_deletePTRRecordV1
- VPS_deleteSnapshotV1
- VPS_getActionListV1
- VPS_getActionV1
- VPS_getAttachedPublicKeysV1
- VPS_getBackupListV1
- VPS_getDataCentersListV1
- VPS_getFirewallListV1
- VPS_getFirewallV1
- VPS_getMetricsV1
- VPS_getPostInstallScriptListV1
- VPS_getPostInstallScriptV1
- VPS_getPublicKeyListV1
- VPS_getScanMetricsV1
- VPS_getSnapshotV1
- VPS_getTemplateListV1
- VPS_getTemplateV1
- VPS_getVirtualMachineListV1
- VPS_getVirtualMachineV1
- VPS_installMonarxV1
- VPS_recreateVirtualMachineV1
- VPS_resetHostnameV1
- VPS_restartVirtualMachineV1
- VPS_restoreBackupV1
- VPS_restoreSnapshotV1
- VPS_setHostnameV1
- VPS_setNameserversV1
- VPS_setPanelPasswordV1
- VPS_setRootPasswordV1
- VPS_setupNewVirtualMachineV1
- VPS_startRecoveryModeV1
- VPS_startVirtualMachineV1
- VPS_stopRecoveryModeV1
- VPS_stopVirtualMachineV1
- VPS_syncFirewallV1
- VPS_uninstallMonarxV1
- VPS_updateFirewallRuleV1
- VPS_updatePostInstallScriptV1
Related Tools
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server