Skip to main content
This page reflects current knowledge of MacStadium VDI networking requirements. It is pending engineering review for completeness and accuracy. If you encounter requirements not listed here, contact support@macstadium.com.
This page covers the network requirements for a MacStadium VDI deployment. Requirements differ by deployment model where noted.

Port and firewall requirements

Citrix VDA and HDX traffic

These rules apply to all deployment models.
TrafficSourceDestinationProtocol / PortPurpose
HDX sessionsEnd-user clientsmacOS VMsTCP/UDP 1494ICA/HDX protocol
HDX sessions (CGP)End-user clientsmacOS VMsTCP/UDP 2598Session Reliability
VDA → Citrix CloudmacOS VMs[customer_ID].xendesktop.netTCP 443VDA registration and brokering
VDA → Gateway ServicemacOS VMs*.*.nssvc.netTCP/UDP 443Rendezvous protocol (HDX direct routing)
VDA → Workspace APImacOS VMs*.citrixworkspacesapi.netTCP 443Gateway connectivity checks
Cloud ConnectorCloud Connector VMCitrix CloudTCP 443Connector heartbeat and communication
If you’re using Citrix Rendezvous protocol (recommended for MSDC-Hosted), ensure outbound TCP/UDP 443 from VMs to *.*.nssvc.net is permitted. Rendezvous routes HDX traffic directly to the Gateway Service without proxying through the Cloud Connector, improving performance.

Orka Engine and management plane

TrafficSourceDestinationProtocol / PortPurpose
Ansible → Orka hostsAnsible controllerMac hostsTCP 22SSH (playbook execution)
Orka APIAnsible controllerMac hostsTCP 80, 443Orka Engine API
VM → Host (jump proxy)Ansible controllerMac hosts → VMsTCP 22VM management via host as jump proxy
Management UIAdmin browserAnsible controllerTCP 3000Semaphore web UI

MDM traffic

TrafficSourceDestinationProtocol / PortPurpose
Jamf Pro enrollmentmacOS VMsJamf Pro serverTCP 443MDM enrollment and management
Kandji enrollmentmacOS VMsKandji cloudTCP 443MDM enrollment and management
Apple ADE (hosts)Mac hostsgdmf.apple.com, deviceenrollment.apple.comTCP 443Automated Device Enrollment
APNsMac hosts / VMs*.push.apple.comTCP 443, 5223Apple Push Notification service

OCI registry

TrafficSourceDestinationProtocol / PortPurpose
Image pullMac hostsOCI registry (GHCR, Harbor, etc.)TCP 443Pulling base and golden images
Image pushMac hostsOCI registryTCP 443Pushing custom golden images

Network topology by deployment model

MacStadium manages the Mac hardware and data center network. Your responsibilities:
  • Connect to your MacStadium environment via VPN (credentials and configuration provided by MacStadium)
  • Your Ansible controller can be located anywhere with VPN access (on your corporate network, a cloud VM, or a MacStadium-hosted VM)
  • MacStadium assigns static IPs to your Mac hosts; you don’t configure host networking directly
  • VMs use bridged networking by default, receiving IPs from your DHCP-enabled management VLAN
VPN requirement: Active VPN connection between your Ansible controller and the MacStadium network is required for all management operations. See VPN Connection for setup instructions.Citrix traffic: VMs connect outbound to Citrix Cloud over the internet. Ensure the MacStadium firewall permits outbound TCP 443 from your VM subnet to Citrix Cloud endpoints listed above.

DNS requirements

All deployment models require DNS resolution for Citrix Cloud endpoints from your VM subnet:
  • [customer_ID].xendesktop.net
  • *.nssvc.net
  • *.citrixworkspacesapi.net
  • gdmf.apple.com (for macOS software updates)
Configure DNS servers in your golden image or via DHCP. If VMs can’t resolve these hostnames, VDA registration will fail. For Self-Hosted deployments, ensure your internal DNS doesn’t block or intercept resolution of *.xendesktop.net and *.nssvc.net.

Proxy considerations

If your network requires a proxy for outbound internet access:
  • Configure HTTP/HTTPS proxy settings in your golden image before deploying VMs
  • Set HTTP_PROXY and HTTPS_PROXY environment variables at the system level
  • Ensure the proxy does not perform TLS inspection on Citrix Cloud traffic. Citrix VDA uses certificate pinning and TLS inspection will break VDA registration
  • Whitelist Citrix Cloud endpoints at the proxy level if deep inspection is required

VPN and direct connect requirements (Self-Hosted)

For Self-Hosted deployments where your Ansible controller is on a different network than your Mac hosts, a site-to-site VPN or Direct Connect is required.
  • AWS VPN tunnel: See AWS VPN setup
  • On-premises VPN: Configure using your existing VPN infrastructure; ensure TCP 22 and TCP 443 are permitted between the Ansible controller and all Mac hosts
For end users connecting to their VDI desktops remotely, a Citrix Gateway or equivalent is required for external access. Citrix Rendezvous protocol (outbound TCP/UDP 443 from VMs to *.nssvc.net) enables direct HDX routing without on-premises Gateway hardware.