[KongchangAI]
ConceptDesignated Encrypted Relay for Packets

DERP

Tailscale的中继服务器机制,当直连不可用时用于保证连通性,节点分布全球多个数据中心,端对端加密确保中继节点无法解密内容

Core Facts

Timeline (last 90 days)

Oct 18

Tailscale tries to make devices connect directly, falling back to relays (DERP) only when NAT traversal fails.

Unverified50%
Sep 11

Tailscale first attempts to establish a direct UDP connection (via NAT traversal) and automatically falls back to DERP relay servers when a direct connection fails.

Unverified50%
Sep 11

When Tailscale is forced to fall back to TCP DERP relay, throughput drops to nearly unusable levels.

Unverified50%
Sep 11

DERP relay is based on TCP transport (typically running on port 443) and can penetrate almost all firewalls.

Unverified50%
Sep 8

Tailscale handles NAT traversal through DERP (Designated Encrypted Relay for Packets) servers, enabling devices on different networks to seamlessly form a unified network.

Unverified50%
Sep 2

UDP hole punching works well for full-cone and restricted-cone NATs, but is nearly ineffective against symmetric NATs, hence the need for DERP relay.

Unverified50%
Aug 29

DERP relay servers can only see the ciphertext encrypted by WireGuard and cannot decrypt the actual transmitted content.

Unverified60%
Aug 29

Tailscale uses STUN and ICE-like protocols for NAT traversal, and when direct connection is not possible, it forwards traffic through DERP relay servers while maintaining end-to-end encryption.

Unverified60%
Aug 28

Tailscale网络中约92%的连接能建立直接P2P连接,约8%需要依赖DERP中继

Unverified50%

All Facts (11)

Verified

Tailscale uses a combination of STUN-like protocols to detect public network addresses and UDP hole punching for NAT traversal, employing a strategy of attempting direct connection first and falling back to relay.

75%
Verified

When UDP is completely blocked by a firewall, Tailscale ensures connectivity through DERP (Designated Encrypted Relay for Packets) relay servers, and end-to-end encryption prevents the relay servers from decrypting data content.

65%
Unverified

DERP relay servers can only see the ciphertext encrypted by WireGuard and cannot decrypt the actual transmitted content.

60%
Unverified

Tailscale uses STUN and ICE-like protocols for NAT traversal, and when direct connection is not possible, it forwards traffic through DERP relay servers while maintaining end-to-end encryption.

60%
Unverified

Tailscale tries to make devices connect directly, falling back to relays (DERP) only when NAT traversal fails.

50%
Unverified

Tailscale first attempts to establish a direct UDP connection (via NAT traversal) and automatically falls back to DERP relay servers when a direct connection fails.

50%
Unverified

DERP relay is based on TCP transport (typically running on port 443) and can penetrate almost all firewalls.

50%
Unverified

When Tailscale is forced to fall back to TCP DERP relay, throughput drops to nearly unusable levels.

50%
Unverified

Tailscale handles NAT traversal through DERP (Designated Encrypted Relay for Packets) servers, enabling devices on different networks to seamlessly form a unified network.

50%
Unverified

UDP hole punching works well for full-cone and restricted-cone NATs, but is nearly ineffective against symmetric NATs, hence the need for DERP relay.

50%
Unverified

Tailscale网络中约92%的连接能建立直接P2P连接,约8%需要依赖DERP中继

50%

Source Articles

Tailscale:用 WireGuard 轻松搭建安全私有网络Jul 11