API documentation Web hosting accessible to everyone Visit LWS

Schema

ServerFirewall

  • enabled boolean

    null: unknown state (hypervisor database unreachable)

  • available boolean

    false if the state could not be read

  • client_rules object[]
  • 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

  • lws_rules object[]

    Rules set by LWS, which cannot be modified

  • 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

  • port_25 object
  • status string

    Tracking of the outgoing port 25 unblocking request

    one of: none, pending, processing, done, failed

Example
{
  "enabled": false,
  "available": false,
  "client_rules": [
    {
      "port": "443",
      "protocol": "TCP",
      "sources": [
        "string"
      ],
      "open_to_any": false,
      "set": "string"
    }
  ],
  "lws_rules": [
    {
      "port": "443",
      "protocol": "TCP",
      "sources": [
        "string"
      ],
      "open_to_any": false,
      "set": "string"
    }
  ],
  "port_25": {
    "status": "none"
  }
}