Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Profile Manager-Router Ports

Just finished installing Lion. Need to know what specific ports are required to open on a firewall to support external access for Profile Manager for provisioning IPhone/Ipad?

iPad, iOS 4.3.3

Posted on Jul 27, 2011 5:27 PM

Reply
33 replies

Apr 30, 2013 9:56 AM in response to iPad786

From your last post I got the impression you were running firewall commands on your OS X system. Unless that's your gateway to the Internet, that's not what needs ports opened. It's your Internet gateway's firewall that needs port rules setup for this. What is your Internet gateway? A router? A Cisco ASA Firewall? Who admins the firewall between your OS X systems and the Internet connection?


You shouldn't need to run any firewall commands on your OS X systems if you are not using the built-in firewall on them. They have nothing to do with accessing those services through your Internet gateway.

Apr 30, 2013 9:59 AM in response to Andrew-ACT-ACSA

Having said all that... it doesn't make sense that your iOS devices are working fine and OS X isn't. If the iOS devices work then it suggests the firewall (if there) between your iOS devices and the Internet is allowing the right signals through. If your OS X clients are on the same network as the iOS devices then there is no sense in them not working. Lion and Mountain Lion use the same stuff as iOS for push notifications and profile retrieval.

May 1, 2013 6:13 AM in response to iPad786

When you are trying to get the OS X clients to receive profile changes are they on the same network as the OS X Server or are they outside of your network? If they are outside of your network, you need to enable port forwarding between TCP ports 80, 443 and 1640 to the private IP address of your OS X Server. The OS X Server also needs to have a public DNS name that points to the public address of your router. If you do not have a static public IP address on your router, you will need one or you will need a dynamic DNS service. You should be able to port scan your public address from outside of your network and detect that ports 80, 443 and 1640 respond. You should not be getting a response from 5223, 2195 and 2195.


Everything should just work inside your private network.

May 1, 2013 1:23 PM in response to Andrew-ACT-ACSA

Thanks Andrew for reply!

When you are trying to get the OS X clients to receive profile changes are they on the same network as the OS X Server or are they outside of your network?

Yes, its on same network.

I have iPads on same network as well and changes /push notifications are accepted by iPads, not OSX machine (I tried with Mac Book Pro, Mac Book Air and Mac Book White having Lion and Mountain Lion installed).

Nov 4, 2013 8:53 AM in response to Andrew-ACT-ACSA

Hi Andrew /all,

I am just new trying to use Os X Server.

I have a big confusion on which are the ports that needs to be opened / fordwarded.

What I see is that ports:

Port TCP 443 (https)

Port TCP 1640 (SCEP)

Port TCP 5223 (APNS)

Port TCP 2195 (APNS)

Port TCP 2196 (APNS)


needs to opened. Opened means fordwarded to the local ip of the machine which is running OS X Server?


Thanks for the clarification, I am little bit lost with this

Thanks

Nov 4, 2013 8:59 AM in response to jorgefa

Ports 5223, 2195 and 2196 are all outbound which means they should not be opened from the public side of your firewall. Your firewall just has to allow your internal devices to go outbound on these ports. Only the Server needs to go out on 2195 and 2196. All Apple devices need to go out on 5223.


From the outside world (as well as inside your network) the server needs to be contactable on 443 and 1640. So you would open 443 and 1640 for inbound requests from the public.

Nov 4, 2013 9:12 AM in response to Andrew-ACT-ACSA

Hey! thanks for your very quick answer!


I don't have a firewall, just a DSL router from the telco company.

So, If I have understood correctly (not sure...)

On the router, I have to open the ports 443 and 1640 and fordward them to the local IP of the server


Regarding ports 5223, 2195 and 2196, do nothing?

Sorry, I am a little bit lost with this

Thanks a lot for your help

Jan 9, 2014 11:02 AM in response to Omniver

If you are working internally only then you do not need to allow any inbound access. Your clients just need access to TCP 5223 outbound. The server only needs TCP 2195 and 2196 outbound.


Your internal network should allow 443 and 1640 from the internal clients. If you do not put a firewall between server and clients then you have nothing to do internally.

Jan 9, 2014 12:49 PM in response to Andrew-ACT-ACSA

Thank you for the reply Andrew. I do want external (Internet) devices to be able to receive and respond to pushed profile changes, I just don't ever want the profile manager adminstrative interface - or any other interface not essential to service the remote devices to be available from the Internet. Devices will be enrolled while on the internal network and then given to the users to go off network.


So I think I still have the same question, will 1640 open from the Internet to the Profile Manager server be enough to ensure remote devices can connect back in response to APNS pushes?

Profile Manager-Router Ports

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.