---
title: NfNatRangeFlag enum | Wartiva GraphQL API
description: NAT range flag for nftables. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/nf-nat-range-flag.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `NfNatRangeFlag` enum

NAT range flag for nftables.

## Values

| Enum Value | Description |
|---|---|
| `MAP_IPS` | Map to a specific IP address range (NF_NAT_RANGE_MAP_IPS). |
| `PROTO_SPECIFIED` | Map to a specific protocol port range (NF_NAT_RANGE_PROTO_SPECIFIED). |
| `PROTO_RANDOM` | Randomize the mapped port (NF_NAT_RANGE_PROTO_RANDOM). |
| `PERSISTENT` | Keep the same mapping for established connections (NF_NAT_RANGE_PERSISTENT). |
| `PROTO_RANDOM_FULLY` | Fully randomize the mapped port using a secure hash (NF_NAT_RANGE_PROTO_RANDOM_FULLY). |
| `PROTO_OFFSET` | Use a fixed offset for protocol port mapping (NF_NAT_RANGE_PROTO_OFFSET). |
| `NETMAP` | 1-to-1 network mapping; translate only the network part of the address (NF_NAT_RANGE_NETMAP). |

## Used by

- [`NatIPv4Range`](https://wartiva.com/api-docs/types/nat-ipv4-range.html) type: NatIPv4Range defines a single IPv4 address and port range, along with behavioral flags, to be used within an IPv4 NAT target.
- [`NatRangeInformation`](https://wartiva.com/api-docs/types/nat-range-information.html) type: NatRangeInformation represents the xt_nat_range iptables target information.

## Example

### Example

```json
"MAP_IPS"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
