List firewall templates

Beta Returns a paginated list of a firewall templates. There are firewall templates specifically for VPC interfaces and public interfaces. Firewall templates come with some protection rules already configured.

linode-cli firewalls templates-list
Learn more...
firewall:read_only
Learn more...
Path Params
string
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Query Params
integer
≥ 1
Defaults to 1

The page of a collection to return.

integer
25 to 500
Defaults to 100

The number of items to return per page.

Responses

Response body
object
data
array of objects
data
object
rules
object

The inbound and outbound access rules for the VPC firewall template.

A firewall can have up to 25 rules across its inbound and outbound rule sets. Multiple rules are applied in order. If two rules conflict, the first rule takes precedence. For example, if the first rule accepts inbound traffic from an address, and the second rule drops inbound traffic from the same address, the first rule applies, and inbound traffic from that address is accepted.

slug
array of strings

Read-only The firewall template types available for VPC and public Linode interfaces.

vpc public

slug
integer

Read-only The current page.

integer

Read-only The total number of pages.

integer

Read-only The total number of results.

Language
Credentials