Operations 4 min read

QNAT: High‑Performance x86 NAT Project by 360 OPS Team

QNAT is a high‑performance, open‑source x86 NAT solution developed by 360 OPS, featuring flexible address‑pool selection, session limits, traffic pass‑through, detailed session logging, and a CLI management interface, and is deployed in many IDC and office network egress points.

360 Tech Engineering
360 Tech Engineering
360 Tech Engineering
QNAT: High‑Performance x86 NAT Project by 360 OPS Team

QNAT is a high‑performance x86 NAT project created by the 360 OPS team based on DPVS and DPDK, currently deployed in 360's office network and most IDC egress points to meet daily business needs.

In typical network environments, public IP scarcity and security considerations lead to the use of NAT (Network Address Translation) at network egresses. 360 operates NAT across numerous IDC data centers and office networks, encountering challenges such as performance bottlenecks, flexible NAT policies, and session logging.

Features

High‑performance NAT44 : Handles high concurrent session counts and high bps traffic.

Traffic pass‑through : Allows non‑NAT traffic to be forwarded directly.

Multiple address‑pool selection : Enables selection of different NAT address pools per source IP.

Per‑IP session limits : Restricts the maximum number of NAT sessions for a specific source IP.

NAT session logging : Records detailed information of all NAT sessions for later tracing.

Command‑line interface management : Provides device‑like CLI management for QNAT.

Architecture Diagram

QNAT Architecture
QNAT Architecture

Applicable Scenarios

Primarily suited for IDC environments and large‑scale office network egress points.

Deployment Guide

Refer to the project documentation (click the original article link) for detailed deployment steps.

Running QNAT

Running QNAT
Running QNAT

Conclusion

QNAT is an open‑source NAT project built by the 360 OPS team for its own business scenarios; it may differ from other use cases, and the team welcomes feedback and contributions.

Open‑source Repository

https://github.com/Qihoo360/qnat

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

networkNATx86high performanceopen-source
360 Tech Engineering
Written by

360 Tech Engineering

Official tech channel of 360, building the most professional technology aggregation platform for the brand.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.