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 type: NatIPv4Range defines a single IPv4 address and port range, along with behavioral flags, to be used within an IPv4 NAT target.
  • NatRangeInformation type: NatRangeInformation represents the xt_nat_range iptables target information.

Example

Example

"MAP_IPS"