IPFlowPortHash() - selecting ephemeral ports for reverse NAT
June 23, 2026
If you are interested and somewhat into C - here’s a closer look: This is the IPFlowPortHash() function in place with BNG RNAT. It ret urns a port within the ephemeral port range 49152-65535 (RFC 6335 and IANA).