Firewall
A server's Shield firewall.
Operations
- GETGet a firewall
/services/{serviceId}/firewall - PUTTurn protection on or off
/services/{serviceId}/firewall/protection - PUTSet the default policy
/services/{serviceId}/firewall/default-policy - POSTAdd a firewall rule
/services/{serviceId}/firewall/rules - PATCHUpdate a firewall rule
/services/{serviceId}/firewall/rules/{ruleId} - DELDelete a firewall rule
/services/{serviceId}/firewall/rules/{ruleId} - POSTBlock an address
/services/{serviceId}/firewall/blocked-ips - DELUnblock an address
/services/{serviceId}/firewall/blocked-ips/{ip} - POSTTrust an address
/services/{serviceId}/firewall/trusted-ips - DELUntrust an address
/services/{serviceId}/firewall/trusted-ips/{ip} - POSTApply a firewall preset
/services/{serviceId}/firewall/presets - GETList firewall presets
/firewall-presets
The Firewall object
A server's Shield firewall.
Attributes
objectstringRequiredThe object's type. Always "firewall".
serviceIdstring (uuid)RequiredThe service's id.
enabledbooleanRequiredWhether protection is on.
defaultPolicystringRequiredWhat happens to ports no enabled rule covers: allow or deny.
One ofallowdenyrulesarray of FirewallRuleRequiredThe inbound rules, at most 15.
max items 15Show 12 child attributesHide 12 child attributes
idstringRequiredThe rule's id: its protocol and first port, such as tcp-30120.
protocolstringRequiredtcp or udp.
One oftcpudpportStartintegerRequiredThe first port.
min 1, max 65535portEndintegerRequiredThe last port.
min 1, max 65535profilestringRequiredThe protection profile that inspects this traffic, such as fivem or generic.
pattern ^[A-Za-z0-9_-]{1,40}$enabledbooleanRequiredWhether the rule is on.
ppsLimitintegerRequiredPackets per second allowed to the whole port range; 0 means no extra limit.
min 0connectionPpsLimitintegerRequiredPackets per second allowed per established connection; 0 means no extra limit.
min 0newConnectionsPerSecondintegerRequiredNew connections per second allowed from one source address, 0 to 30; 0 means no extra limit.
min 0, max 30onlyProxiedbooleanRequiredAccept only traffic that arrives through Clouduxe's protected proxy.
blockUdpbooleanRequiredDrop UDP to this range.
protocolValidationbooleanRequiredCheck that traffic follows the profile's protocol, and drop what does not.
blockedIpsarray of BlockedIpRequiredBlocked source addresses.
Show 2 child attributesHide 2 child attributes
ipstringRequiredThe IPv4 address.
expiresAtstring (date-time) or nullRequiredWhen the block ends, or null for no end.
trustedIpsarray of TrustedIpRequiredTrusted source addresses.
Show 2 child attributesHide 2 child attributes
ipstringRequiredThe IPv4 address.
notestring or nullRequiredYour note.
updatedAtstring (date-time) or nullRequiredWhen this state was read.
{
"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"
}