Apple Profile Manager : MDM Ports , Push Notifications
Hi All
I have configured MDM with Mountain Lion , Server Tools 2.2.1 , worked fine with iOS device (checked with iPad) worked fine.
But when I push to OSX devices, it stuck , ... lot of search on Google and found some threads that people had the same issues.
http://serverfault.com/questions/102416/iptables-equivalent-for-mac-os-x/105736# 105736
https://discussions.apple.com/thread/4254271?start=0&tstart=0
https://discussions.apple.com/thread/4257714
http://krypted.com/iphone/managing-ios-devices-with-apple-configurator/
The solution was to open following ports:
o use Profile Manager, you should ensure that the following ports are open on your network.
| Port | TCP/UDP | Description |
| 2195, 2196 | TCP | Used by Profile Manager to send push notifications |
| 5223 | TCP | Used to maintain a persistent connection to APNs and receive push notifications |
| 80/443 | TCP | Provides access to the web interface for Profile Manager admin |
| 1640 | TCP | Enrollment access to the Certificate Authority |
But when I tried to open the ports (tried both text based and with ICE Flor)
sudo ipfw add 27860 allow tcp from any to any dst-port 2196
sudo ipfw add 27860 allow tcp from any to any dst-port 2195
add 78600 allow tcp from any to any dst-port 5223
When I use sudo lsof -i -P | grep -i "listen" , it didnot show me if the ports are open.
iPad, iOS 6