NAT range flag for nftables.
Values
| Enum Value | Description |
|---|---|
|
|
Map to a specific IP address range (NF_NAT_RANGE_MAP_IPS). |
|
|
Map to a specific protocol port range (NF_NAT_RANGE_PROTO_SPECIFIED). |
|
|
Randomize the mapped port (NF_NAT_RANGE_PROTO_RANDOM). |
|
|
Keep the same mapping for established connections (NF_NAT_RANGE_PERSISTENT). |
|
|
Fully randomize the mapped port using a secure hash (NF_NAT_RANGE_PROTO_RANDOM_FULLY). |
|
|
Use a fixed offset for protocol port mapping (NF_NAT_RANGE_PROTO_OFFSET). |
|
|
1-to-1 network mapping; translate only the network part of the address (NF_NAT_RANGE_NETMAP). |
Used by
NatIPv4Rangetype: NatIPv4Range defines a single IPv4 address and port range, along with behavioral flags, to be used within an IPv4 NAT target.NatRangeInformationtype: NatRangeInformation represents the xt_nat_range iptables target information.
Example
Example
"MAP_IPS"