Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Firewall → Firewall Activate

AI-generated

Overview

This node activates a firewall for a specified virtual machine (VPS) using the Hostinger API. It is useful for users who want to enable firewall protection on their VPS to enhance security by controlling incoming and outgoing network traffic based on predetermined security rules. For example, a user can activate a firewall to protect their VPS from unauthorized access or attacks.

Use Case Examples

  1. Activating a firewall on a VPS to secure it before deploying applications.
  2. Enabling firewall protection on a newly created VPS to comply with security policies.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the virtual machine (VPS) on which the firewall will be activated.
Firewall ID The unique identifier of the firewall to be activated on the specified virtual machine.

Output

JSON

  • response - The JSON response from the Hostinger API after activating the firewall, containing details about the activation status and related information.

Dependencies

  • Hostinger API authentication token or API key credential required for API requests.

Troubleshooting

  • Ensure that both Virtual Machine ID and Firewall ID are correctly provided and correspond to existing resources in the Hostinger account.
  • Common error messages may include authentication failures if the API key is invalid or missing, or resource not found errors if the IDs do not match any existing VPS or firewall.
  • Network connectivity issues can cause request failures; verify internet access and API endpoint availability.

Links

Discussion