Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Firewall → Firewall Sync

AI-generated

Overview

This node operation synchronizes the firewall settings of a specified VPS (Virtual Private Server) with the Hostinger API. It is useful for ensuring that the firewall rules and configurations on the VPS are up-to-date and consistent with the desired state defined in the Hostinger control panel. For example, after modifying firewall rules or policies, this operation can be used to apply those changes to the VPS firewall.

Use Case Examples

  1. Sync firewall settings of a VPS after updating firewall rules to ensure the VPS is protected according to the latest security policies.
  2. Automate firewall synchronization as part of a deployment pipeline to maintain consistent firewall configurations across multiple VPS instances.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS whose firewall is to be synchronized.
Firewall ID The unique identifier of the firewall to synchronize with the VPS.

Output

JSON

  • response - The JSON response from the Hostinger API after synchronizing the firewall, containing details about the synchronization status or result.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure that both Virtual Machine ID and Firewall ID are correctly provided and correspond to existing resources in the Hostinger account.
  • Check that the API authentication credentials are valid and have sufficient permissions to perform firewall synchronization.
  • If the API returns an error, verify the firewall and VPS states to ensure they are compatible for synchronization.

Links

Discussion