Which ports are open on my Mac server?
Short answer: all of them, by default. Your Mac gets a public IP with no filtering at our network, except for a small set of ports known to be abused for DDoS attacks.
What we don’t restrict
We filter a small number of ports with known vulnerabilities or a history of abuse (see below). This is rarely a blocker for anything you'd run. Everything else is open: web servers, SSH, Xcode build farms, VPN endpoints, game servers, CI runners or custom protocols. We don’t inspect your traffic and we don’t rate limit normal use.
What we do restrict
We filter a small number of ports at our network for security reasons, amongst others:
Screen Sharing (VNC) and Apple Remote Desktop.
VNC has known vulnerabilities, and potential big impact, so we block Screen Sharing and ARD inbound from the internet:
TCP and UDP 5900 (Screen Sharing / VNC)
TCP and UDP 3283 (Apple Remote Desktop)
SSH is not blocked, so you can still use Screen Sharing over an SSH tunnel. See Accessing your Mac server via VNC over SSH.
Ports abused for DDoS. To keep your server and our network from being dragged into reflection and amplification DDoS attacks, we filter a small set of UDP ports that are routinely abused for this. These filters normally don’t affect anything you’d run as a service. The one most visible to Mac users:
UDP 5353 (mDNS / Bonjour). Besides the DDoS angle, this stops your server from leaking its Bonjour name, advertised services and local hostnames to the public internet, which is a privacy gain.
Tightening things up
If you don’t want your Mac exposed directly, or want to keep out the many automated bots and scanners hammering your SSH port, you have several options:
pf firewall on the Mac. Built in, free and flexible. See our Firewall guide.
Dedicated firewall and private network isolation. We offer this as an add-on for customers who want their Mac (or fleet of Macs) behind a managed stateful firewall on an isolated private VLAN, with public traffic reaching them only through defined rules. Useful if you host sensitive workloads, need to meet compliance requirements, or don’t want to manage pf rules on each Mac separately. Contact us for pricing and setup.
Overlay VPN for management access. Keep the server public for the services that need it, but move SSH, VNC and ARD onto an overlay network. Options that work well on macOS:
ZeroTier
Tailscale
WireGuard