Skip to Main Content

Anydesk Firewall //top\\ Guide

AnyDesk is a popular remote desktop software that allows users to access and control computers remotely. However, for secure communication between the client and server, it's essential to configure the firewall settings properly. In this guide, we'll discuss how to configure firewall settings for AnyDesk.

| | Required Rules | |--------------|--------------------| | Outbound-only (typical client) | Allow TCP 443, TCP 80, UDP 50000–60000 outbound to AnyDesk domains/IPs. | | Inbound direct access | Forward TCP 7070 to target device; allow UDP 50000–60000 inbound. | | Highly restrictive network | Allow only TCP 443 outbound; performance may degrade (relay-only mode). | | Local LAN only | Allow TCP 7070 and UDP range on LAN interfaces; block to WAN if desired. |

Configuring a firewall for AnyDesk requires understanding its hybrid connection model: outbound HTTPS for signaling and relay, plus optional UDP ports for direct P2P performance. In most environments, allowing is sufficient for basic functionality, while adding UDP 50000–60000 significantly improves speed and responsiveness. For maximum security, whitelist AnyDesk’s specific domains and IP ranges, avoid SSL inspection of its traffic, and regularly review rules for changes. Proper configuration ensures seamless remote access without compromising network security.

AnyDesk uses the following network protocols and ports:

To configure Windows Firewall for AnyDesk: