Hairpin NAT
Hairpin NAT (NAT loopback) lets an internal host reach an internal service through its public address: the NAT "hairpins" the packet back to the internal destination instead of sending it out to the Internet.
Purpose
It removes the external detour when internal hosts access internal services by public domain/IP, improving efficiency and reachability.
Mechanism
An internal host sends to the public IP (which maps to an internal service); the NAT recognizes its own mapping, rewrites the destination to the internal service IP, and hairpins the packet, also rewriting the source to the NAT's internal IP (to avoid direct-return issues).
Use cases
- Internal access via public domains
- NAT loopback
- Internal services reached through their public address
Related tools
HTTP Status Codes
Reference table of common HTTP status codes (1xx-5xx) with names, categories, and descriptions. Free, private, and 100% client-side. TOOL
URL Parser
Parse a URL into its components: protocol, host, path, query, hash, port, username, and password. Free, private, and 100% client-side. TOOL