惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Last Week in AI
Last Week in AI
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
人人都是产品经理
人人都是产品经理
V
Visual Studio Blog
宝玉的分享
宝玉的分享
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
T
Tailwind CSS Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
博客园 - 聂微东
S
SegmentFault 最新的问题
博客园 - 司徒正美
罗磊的独立博客
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
美团技术团队
小众软件
小众软件
Jina AI
Jina AI

NetBird - Networking Knowledge Hub - RSS Feed

NetBird Is Now on the Vultr Marketplace Native NetBird on the GL.iNet Comet Pro (GL-RM10) NetBird v0.71 - IPv6 Overlay Addressing NetBird Exit Nodes - Appear at Home, or Anywhere Else Reporting Bugs and Requesting Features in NetBird Setup and Use Local AdGuard Home Anywhere with NetBird DNS How to Set Up NetBird on PiKVM for Secure Remote KVM Access NetBird v0.69 - CrowdSec IP Reputation for the Reverse Proxy Cloudflare Mesh vs NetBird vs Tailscale: Performance Compared Self-Hosting Nextcloud with Docker and NetBird Implementing Zero Trust with NetBird Solwr Enhances Remote Connectivity with NetBird Self-Hosting NetBird with Authentik Jellyfin Media Server - Self-Host Your Movies, TV, and Music Cloudflare Tunnels vs. NetBird Reverse Proxy INFITX Builds Zero-Touch Kubernetes Networking with NetBird NetBird v0.66 - Expose Local Services to the Internet from the CLI Pangolin vs. NetBird Home Assistant Setup Guide with EASY Remote Access NetBird v0.65 - Built-in Reverse Proxy with Custom Domains Docker for Beginners - Everything You Need to Get Started NetBird for SOC 2 Compliance NetBird v0.63 - Custom DNS Zones for Private Network Resolution Vibecode This in a Weekend and Take 5% of the Company NetBird v0.62 - Built-in Local Users with Optional IdP Integration NetBird v0.61.0 - Granular SSH Access Control and Automatic Updates Top 5 Alternatives to OpenVPN Top 5 Open Source Alternatives to Tailscale Top 5 Alternatives to ZeroTier How to Set Up ZeroByte and REST Server for Backups with NetBird
NetBird v0.67 - Layer 4 Proxy Support for TCP, UDP, and TLS
Written byBrandon Hopkins · 2026-03-31 · via NetBird - Networking Knowledge Hub - RSS Feed

When we shipped the built-in reverse proxy in v0.65 and the command in v0.66, both were HTTP-only. That covered a lot of ground, but not everything runs over HTTP. Databases, game servers, custom protocols, IoT backends, and plenty of internal tools speak raw TCP, UDP, or TLS.

NetBird v0.67 extends the reverse proxy with full Layer 4 support. You can now proxy TCP, UDP, and TLS traffic through your NetBird network with the same zero-trust model you already use for HTTP services.

Layer 4 Proxy Modes

Layer 4 proxy modes overview

The reverse proxy now supports four distinct modes:

ModeProtocolUse Cases
HTTPHTTP/HTTPSWeb apps, APIs, dashboards (existing behavior)
TCPRaw TCPDatabases, custom protocols, SSH tunnels
UDPDatagram-basedDNS, game servers, VoIP, IoT telemetry
TLSTLS passthrough (SNI)End-to-end encrypted services where the backend terminates TLS

Each mode is purpose-built. TCP gets bidirectional relay with connection limiting. UDP gets session-based relay with configurable idle timeouts. TLS uses SNI-aware routing to direct traffic to the right backend without terminating encryption, so your proxy never sees the plaintext. For full configuration details, see the reverse proxy documentation .

TCP and UDP from the CLI

The command now supports L4 protocols alongside HTTP. Expose a TCP service:


Or a UDP service:


For services that need a specific external port, use the flag:


The proxy handles port assignment automatically when isn't specified. If your requested port conflicts with an existing service, you'll get a clear message explaining why.

One important difference from HTTP mode: L4 protocols don't support the authentication flags (, , ). Authentication at the transport layer works differently, and it's up to the backend service to handle it. The proxy secures the network path; the application secures the session. See the expose from CLI docs for more examples, including database tunneling and game server setups.

TLS Passthrough with SNI Routing

TLS mode is particularly useful when your backend already handles its own certificates and you don't want the proxy to terminate TLS. The proxy peeks at the TLS ClientHello to read the SNI (Server Name Indication) field and routes the connection to the correct backend based on the domain name, without decrypting anything.

This means multiple TLS services can share the same port, as long as they use different domains. The proxy demultiplexes based on SNI, so each service gets its traffic routed correctly.


PROXY Protocol v2

For TCP services that need to know the original client IP, v0.67 adds PROXY protocol v2 support. When enabled, the proxy prepends client connection metadata to the TCP stream so your backend can see the real source address instead of the proxy's IP.

This is critical for services that make decisions based on client IP, like rate limiters, audit logs, or geo-aware applications.

Header-Based Authentication and Access Restrictions

Beyond L4, this release adds significant new capabilities to the HTTP proxy, all configurable from the dashboard.

Header Authentication

You can now authenticate users via request headers. This is useful when you have an upstream identity-aware proxy or load balancer that injects user identity headers. Configure the proxy to trust specific headers and strip them before forwarding to the backend, preventing header spoofing from untrusted clients.

From the reverse proxy service settings, open the Authentication tab to add header rules. Each rule specifies a header name and expected value. You can add multiple rules, and the proxy strips matched headers before forwarding to prevent spoofing from downstream. For setup details on Basic Auth, Bearer Token, and custom header presets, see the authentication docs .

Header authentication configuration in the dashboard

Geo and IP Access Rules

Access restrictions let you limit who can reach a service based on IP ranges (CIDR blocks) or geographic location (country codes). The proxy includes automatic geolocation database management and enriches access logs with geographic metadata.

The new Access Control tab on each reverse proxy service lets you define allow or deny rules by country or CIDR range. Rules are evaluated per-request, and the dashboard shows which services have active restrictions at a glance.

Access control rules with country and IP restrictions

This is especially relevant for compliance-sensitive deployments where you need to restrict access to specific jurisdictions, or for reducing attack surface by blocking traffic from regions where you have no users.

Access control status shown on the reverse proxy service list

Optional Subdomains

Reverse proxy domains can now be configured without requiring a subdomain. When a domain has set to false, you can create services directly on the bare domain. This simplifies setups where you want a single service on a dedicated custom domain without an extra subdomain prefix.

Session Idle Timeout

Configurable idle timeouts let you automatically disconnect sessions that go inactive. This applies to both HTTP and L4 services, and it's particularly useful for UDP sessions where there's no natural connection close signal.

Client Health Checks

Running NetBird in containers or orchestrators like Kubernetes has gotten easier. The new flag on provides proper health probe endpoints:


Each probe type is purpose-built. and use a lightweight status RPC that doesn't trigger a full peer status refresh, keeping your health checks fast and low-overhead. does a full probe since it only runs once.

The Docker entrypoint has been updated to use instead of parsing log files, making container startup detection more reliable.

Client Metrics

v0.67 introduces opt-in, privacy-preserving client metrics. When enabled, the client collects connection performance data and pushes it periodically to an ingest server.

What gets collected:

MetricWhat It Measures
Time from signaling to connection, connection to WireGuard handshake, and total
Management sync message processing time
Login and auth duration

Privacy is built into the design. Peer IDs are truncated SHA-256 hashes of WireGuard public keys (not reversible). No IP addresses, peer names, or configuration details are sent. The ingest server validates and rejects anything outside the allowlisted measurements.

Metrics are disabled by default. Enable with:


Collected metrics are always available locally in debug bundles regardless of the push setting.

Everything Else

  • Wildcard certificates: The proxy now supports wildcard certs and can read certificates from disk if available, reducing ACME overhead for deployments with many subdomains.
  • GPG-signed RPM packages: RPM packages are now signed with a GPG key for verified installs.
  • Automatic engine restart on IP change: If a peer's IP changes, the engine restarts automatically instead of requiring manual intervention.
  • Improved DNS handling: Better IPv6 formatting, thread-safe probe operations, and general DNS reliability improvements.
  • Notification endpoints: The management server now supports notification endpoints for event-driven integrations.
  • FleetDM integration: Added FleetDM API spec support for device management workflows.
  • Expose support for embedded clients: The functionality is now available in the embedded client library, extending L4 proxy capabilities to custom integrations.
  • Persistent service install parameters: Service install parameters are now preserved across reinstalls, so you don't have to reconfigure after upgrading.
  • Security hardening: Added path traversal and file size protections across the platform.
  • macOS Sequoia / M5 fix: Resolved a segfault on macOS 26 with M5 chips by upgrading the CPU detection dependency.
  • Proxy debugging: Added pprof support to the proxy for easier performance profiling and debugging.
  • Multiple header auth with identical names: Header authentication rules now support multiple entries using the same header name for more flexible matching.

Learn More and Connect