---
title: "Preview Firewall Configuration"
method: POST
path: "/network/firewall/advanced/preview"
tags: ["Network"]
---

# Preview Firewall Configuration

`POST /network/firewall/advanced/preview`

Validate and render a candidate advanced PF configuration without persisting or applying it

## Request body

- GithubComAlchemillahqSylveInternalInterfacesServicesNetworkFirewallAdvancedRequest
  - `postNatDecl` string
  - `postRules` string
  - `postTrafficAnchor` string
  - `preNatDecl` string
  - `preRules` string
  - `preTrafficAnchor` string

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalInterfacesServicesNetworkRenderedConfigResponse
  - `data` GithubComAlchemillahqSylveInternalInterfacesServicesNetworkRenderedConfigResponse
    - `natRules` string
    - `objectTables` string
    - `pfConf` string
    - `trafficRules` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `413` — Payload Too Large
- `500` — Internal Server Error

---

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