---
title: "Get firewall list"
method: GET
path: "/api/vps/v1/firewall"
tags: ["VPS: Firewall"]
---

# Get firewall list

`GET /api/vps/v1/firewall`

Retrieve all available firewalls.

Use this endpoint to view existing firewall configurations.

## Query parameters

- `page` integer

## Response `200`

Success response

- object
  - `data` VPSV1FirewallFirewallResource[] — Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource)
    - `id` integer — Firewall ID
    - `name` string — Firewall name
    - `is_synced` boolean — Is current firewall synced with VPS
    - `rules` VPSV1FirewallFirewallRuleResource[] — Array of [`VPS.V1.Firewall.FirewallRuleResource`](#model/vpsv1firewallfirewallruleresource)
      - `id` integer — Firewall rule ID
      - `action` 'accept' | 'drop' — Firewall rule action
      - `protocol` 'TCP' | 'UDP' | 'ICMP' | 'GRE' | 'any' | 'ESP' | 'AH' | 'ICMPv6' | 'SSH' | 'HTTP' | 'HTTPS' | 'MySQL' | 'PostgreSQL' — Firewall rule protocol
      - `port` string — Firewall rule destination port: single or port range
      - `source` string — Firewall rule source. Can be `any` or `custom`
      - `source_detail` string — Firewall rule source detail. Can be `any` or IP address, CIDR or range
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `meta` CommonSchemaPaginationMetaSchema
    - `current_page` integer
    - `per_page` integer
    - `total` integer

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
