Firewall ports and outbound rules needed for Hexnode-managed iOS devicesSolved

Participant
Discussion
2 days ago Aug 15, 2026

We’re setting up a restricted subnet with a firewall for managed iOS devices. The devices still need to enroll, sync policies, receive app deployments, and communicate with Hexnode UEM.

What ports and destinations need to be allowed, and in which direction? Also, are any inbound firewall rules required for iOS devices to receive MDM commands?

Replies (1)

Marked SolutionPending Review
Hexnode Expert
1 day ago Aug 15, 2026
Marked SolutionPending Review
For Hexnode-managed iOS devices, the firewall rules are primarily outbound from the device network. Inbound access to the devices is not required for standard MDM communication.

Required rules:

1. Outbound TCP 443

– Direction: iOS device network to Hexnode/Apple service endpoints

– Used for: enrollment, device check-in, policy sync, app management, profile installation, and secure HTTPS communication with the Hexnode portal and related service domains.

2. Outbound TCP 5223

– Direction: iOS device network to Apple Push Notification service

– Used for: maintaining the persistent APNs connection required for MDM wake-up notifications.
No inbound rule is required for standard MDM commands. Hexnode sends a wake-up notification through APNs, and the device then contacts the MDM server over the allowed outbound HTTPS connection.
If the firewall supports domain-based allowlisting, use the Hexnode network ports documentation and Apple’s APNs network requirements as the source for the latest domains and destination ranges. This is preferable to hardcoding static IPs wherever possible, as cloud service endpoints may change.
Regards,
Mary Romero
Save