Profile Manager not enrolling across VLANs
Hi all,
I have purchased a Mac Mini and set up the server app on it to act as our management platform, I am using AD to authenticate and profile manager for the policies.
My setup procedure:
- Created a static IP on our server subnet.
- Renamed the box and made sure it showed up in DNS.
- Added the Server to the domain.
- Set up Server.app
- Configured an OD master via server app.
- Enabled MDM using our Apple ID.
- Set up enroll profiles, also downloaded the trust profile ready to install alongside.
I have NOT configured any network access rights on profile manager and it is set to all networks.
So far it has been relatively painless, considering before this undertaking the only thing I had done relating to managing macs was setting up Apple Configurator and Meraki to manage iPads at my previous employer.
I have ran into an issue when trying to enroll devices on another VLAN, this process works flawlessly on the same LAN as the server though. Which made me think it was my end of things i.e. firewall or inter lan routing
- I have allowed access to tcp 1295 - 1296 in and out from all our VLANs, to the net.
- I have allowed access to tcp 5223 in and out from all our VLANs, to the net.
- I have allowed access to tcp 1640 in and out from our server VLAN, to the rest of our VLANs.
As documented here.
As soon as the client I am enrolling is not on the same VLAN, the enroll profile fails with a timeout error on the client and the following log entries on the server.
[2644] [2017/03/21 12:27:20.936] I: Processing MagicController#admin_will_load (for 10.250.10.50 at 2017-03-21 12:27:20) [POST]
[2644] [2017/03/21 12:27:21.037] I: auth_token does not exist
[2644] [2017/03/21 12:27:21.038] I: Filter chain halted as [:verify_auth_token] rendered_or_redirected.
[2644] [2017/03/21 12:27:21.038] I: Completed in 101ms (View: 0, DB: 1) | 403 Forbidden https://yc-osx01/magic/admin_will_load
[2645] [2017/03/21 12:27:22.144] I: Processing MagicController#do_magic (for 10.250.10.50 at 2017-03-21 12:27:22) [POST]
[2645] [2017/03/21 12:27:22.259] I: auth_token does not exist
[2645] [2017/03/21 12:27:22.259] I: Filter chain halted as [:verify_auth_token] rendered_or_redirected.
[2645] [2017/03/21 12:27:22.259] I: Completed in 115ms (View: 0, DB: 1) | 403 Forbidden https://yc-osx01/magic/do_magic
Not sure what this means or why being on another network might return a 403 forbidden.
Note that the DNS record in AD is YC-OSX01.my.domain.com, but the HOSTNAME of the server is actually YC-OSX01.local
However if this difference was the issue it would not be functioning on the same LAN either as all our VLANs use the same DNS. Correct?
Mac mini, macOS Sierra (10.12.3)