Get a firewall template

Gets a vpc or public firewall template you can use with Linode VPC and public interfaces. Firewall templates come with some protection rules already configured.

The public interface's firewall template allows for login with SSH, and regular networking control data. You should further strengthen these rules by limiting the allowed IPv4 and IPv6 ranges.

The VPC interface's firewall template allows for login with SSH, regular networking control data, and inbound traffic from the VPC address space. You should further strengthen these rules by limiting the allowed IPv4 and IPv6 ranges.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: Internet facing, no permission
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: firewall:read_only

CLI

linode-cli firewalls template-view vpc

Learn more

Path Params
string
enum
required

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

Allowed:
string
enum
required

Enum The firewall template type, available for either vpc or public interfaces.

Allowed:
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

vpc or public firewall template for interface firewalls.

Language
Credentials
Response
Choose an example:
application/json