Endpoint configuration · GraphQL type

NatIPv4Range type

NatIPv4Range defines a single IPv4 address and port range, along with behavioral flags, to be used within an IPv4 NAT target.

Fields

Field Name Description
flags - NfNatRangeFlag! A bitmask of flags that modify the NAT range behavior for this specific entry.
minIP - IpAddress! The minimum IPv4 address in this specific NAT range.
maxIP - IpAddress! The maximum IPv4 address in this specific NAT range.
minPort - Int! The minimum port in this specific NAT range, returned as an unsigned 16-bit integer.
maxPort - Int! The maximum port in this specific NAT range, returned as an unsigned 16-bit integer.

Used by

  • NatIpv4RangeInformation type: NatIpv4RangeInformation represents the xt_nat_ipv4_range iptables target information, which allows specifying multiple NAT ranges for IPv4 packets.

Example

Example

{
  "flags": "MAP_IPS",
  "minIP": IpAddress,
  "maxIP": IpAddress,
  "minPort": 123,
  "maxPort": 123
}