# `tartan fwzone`

_For tartan 0.9.36._

## `tartan fwzone add`

add a firewall zone (settings not given are off)

```
tartan fwzone add --org <string> --name <string> --colour <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run`

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the zone's name |
| `--colour` | string | yes | a brand token name, e.g. zone.resourceInternal |
| `--takes_profiles` | bool | no | members' profile ports open |
| `--ping` | bool | no | ICMP from the org's devices |
| `--techs_only` | bool | no | nothing but the org's techs |
| `--shareable` | bool | no | members may be offered to partner orgs |

## `tartan fwzone list`

the org's firewall zones: settings, colour, defaults and what each holds

```
tartan fwzone list --org <string>
```

**Role:** viewer · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan fwzone remove`

remove a zone; one that holds devices, NAT resources, live codes or rules needs --move_to

```
tartan fwzone remove --org <string> --name <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run`

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the zone's name |
| `--move_to` | string | no | the zone its members and rules move to |

## `tartan fwzone set`

change a zone's settings, colour or name; turning profile ports off needs --clear_profiles while members carry some

```
tartan fwzone set --org <string> --name <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run`

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the zone's name |
| `--rename` | string | no | a new name |
| `--colour` | string | no | a brand token name, e.g. zone.resourceInternal |
| `--takes_profiles` | bool | no | members' profile ports open |
| `--ping` | bool | no | ICMP from the org's devices |
| `--techs_only` | bool | no | nothing but the org's techs |
| `--shareable` | bool | no | members may be offered to partner orgs |
| `--clear_profiles` | bool | no | clear the members' profiles when the zone stops taking ports |
