API documentation Web hosting accessible to everyone Visit LWS

Schema

FirewallSet

  • id string

    Example: 34

  • name string
  • description string
  • 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

  • applied_to string[]

    VPS (covered by the key) the rule set is applied to

Example
{
  "id": "34",
  "name": "string",
  "description": "string",
  "rules": [
    {
      "port": "443",
      "protocol": "TCP",
      "sources": [
        "string"
      ],
      "open_to_any": false
    }
  ],
  "applied_to": [
    "string"
  ]
}