API documentation Web hosting accessible to everyone Visit LWS

Schema

ServerFirewallRule

  • port string

    Port or start-end range

    Example: 443

  • protocol string

    Protocol, always in uppercase

    one of: TCP, UDP

  • sources string[]

    Authorized addresses or CIDR ranges; empty if the rule is open to all

  • open_to_any boolean

    true if no address restricts the rule

  • set string

    Rule set the rule comes from

Example
{
  "port": "443",
  "protocol": "TCP",
  "sources": [
    "string"
  ],
  "open_to_any": false,
  "set": "string"
}