Skip to main content

Provision Zone

POST 

/vyos/firewall/zones/provision

Atomically provision a new zone with all firewall chains and from-zone assignments.

Creates in a single VyOS transaction:

  • The zone with its configuration
  • IPv4 + IPv6 chains for every zone pair (both directions), default drop
  • From-zone assignments wired for each pair
  • If is_first_zone: LOCAL zone + LOCAL-{zone} / {zone}-LOCAL chains (default drop + rule 100 accept)

Request

Responses

Successful Response