AI ready
Open in Claude (opens in a new tab)View as Markdown

Firewall

A server's Shield firewall.

Base URL https://api.clouduxe.com/v1Updated 5 November 2026

Operations

The Firewall object

A server's Shield firewall.

Attributes

  • objectstringRequired

    The object's type. Always "firewall".

  • serviceIdstring (uuid)Required

    The service's id.

  • enabledbooleanRequired

    Whether protection is on.

  • defaultPolicystringRequired

    What happens to ports no enabled rule covers: allow or deny.

    One ofallowdeny
  • rulesarray of FirewallRuleRequired

    The inbound rules, at most 15.

    max items 15
    Show 12 child attributesHide 12 child attributes
    • idstringRequired

      The rule's id: its protocol and first port, such as tcp-30120.

    • protocolstringRequired

      tcp or udp.

      One oftcpudp
    • portStartintegerRequired

      The first port.

      min 1, max 65535
    • portEndintegerRequired

      The last port.

      min 1, max 65535
    • profilestringRequired

      The protection profile that inspects this traffic, such as fivem or generic.

      pattern ^[A-Za-z0-9_-]{1,40}$
    • enabledbooleanRequired

      Whether the rule is on.

    • ppsLimitintegerRequired

      Packets per second allowed to the whole port range; 0 means no extra limit.

      min 0
    • connectionPpsLimitintegerRequired

      Packets per second allowed per established connection; 0 means no extra limit.

      min 0
    • newConnectionsPerSecondintegerRequired

      New connections per second allowed from one source address, 0 to 30; 0 means no extra limit.

      min 0, max 30
    • onlyProxiedbooleanRequired

      Accept only traffic that arrives through Clouduxe's protected proxy.

    • blockUdpbooleanRequired

      Drop UDP to this range.

    • protocolValidationbooleanRequired

      Check that traffic follows the profile's protocol, and drop what does not.

  • blockedIpsarray of BlockedIpRequired

    Blocked source addresses.

    Show 2 child attributesHide 2 child attributes
    • ipstringRequired

      The IPv4 address.

    • expiresAtstring (date-time) or nullRequired

      When the block ends, or null for no end.

  • trustedIpsarray of TrustedIpRequired

    Trusted source addresses.

    Show 2 child attributesHide 2 child attributes
    • ipstringRequired

      The IPv4 address.

    • notestring or nullRequired

      Your note.

  • updatedAtstring (date-time) or nullRequired

    When this state was read.

The Firewall object
{
  "object": "firewall",
  "serviceId": "c3a1f6d2-8b4e-4a9c-b7d5-2e1f0a3c6b8d",
  "enabled": true,
  "defaultPolicy": "deny",
  "rules": [
    {
      "id": "tcp-30120",
      "protocol": "tcp",
      "portStart": 30120,
      "portEnd": 30120,
      "profile": "fivem",
      "enabled": true,
      "ppsLimit": 0,
      "connectionPpsLimit": 0,
      "newConnectionsPerSecond": 10,
      "onlyProxied": false,
      "blockUdp": false,
      "protocolValidation": true
    },
    {
      "id": "udp-30120",
      "protocol": "udp",
      "portStart": 30120,
      "portEnd": 30120,
      "profile": "fivem",
      "enabled": true,
      "ppsLimit": 0,
      "connectionPpsLimit": 0,
      "newConnectionsPerSecond": 0,
      "onlyProxied": false,
      "blockUdp": false,
      "protocolValidation": true
    },
    {
      "id": "tcp-22",
      "protocol": "tcp",
      "portStart": 22,
      "portEnd": 22,
      "profile": "generic",
      "enabled": true,
      "ppsLimit": 0,
      "connectionPpsLimit": 0,
      "newConnectionsPerSecond": 5,
      "onlyProxied": false,
      "blockUdp": false,
      "protocolValidation": false
    }
  ],
  "blockedIps": [
    {
      "ip": "198.51.100.77",
      "expiresAt": "2026-12-05T10:00:00Z"
    }
  ],
  "trustedIps": [
    {
      "ip": "192.0.2.15",
      "note": "Office"
    }
  ],
  "updatedAt": "2026-12-04T10:02:41Z"
}

Generated from the API contract, version 2026-12-01.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.