VPP Sync Behind Reverse Rroxy

Gascolator
Contributor

We run a clustered on premise environment. One JSS internal, one JSS in the DMZ behind a reverse proxy. I've never loved that even though you turn off the UI on the DMZ instance that www.myjss.com/api is still exposed as a UI. We do restrict what users have access to the API but I still don't like it being exposed so I tried blocking it in the reverse proxy. 

After doing this, I noticed that it broke the sync with VPP.  I removed the /api block in the reverse proxy and the purchased apps immediately came down. I went and checked the reverse proxy logs thinking that I'd have an error logged every time the sync monitor ran. I found no such errors. The only thing i found in the logs related to /api was an errors with remote users and the self service branding icon not being passed down.

Anybody else have any insight into why blocking /api breaks VPP sync and also why there would be no errors logged in the reverse proxy?

 

1 ACCEPTED SOLUTION

Vijay_Raj
New Contributor

Blocking API in your reverse proxy breaks VPP sync because Jamf Pro needs API access to communicate with Apple's VPP service. Even though the UI is disabled, the API is still required for app purchases to sync.

Fix:

  • Re-enable API, but restrict access to only Apple’s VPP servers & your internal JSS.
  • Enable logging for blocked requests to capture failed API calls.
  • Consider a WAF or rate limiting instead of fully blocking API

View solution in original post

2 REPLIES 2

Vijay_Raj
New Contributor

Blocking API in your reverse proxy breaks VPP sync because Jamf Pro needs API access to communicate with Apple's VPP service. Even though the UI is disabled, the API is still required for app purchases to sync.

Fix:

  • Re-enable API, but restrict access to only Apple’s VPP servers & your internal JSS.
  • Enable logging for blocked requests to capture failed API calls.
  • Consider a WAF or rate limiting instead of fully blocking API

Thanks for the reply. I wasn't aware of Failed Request Tracking in IIS. I will get that setup to see exactly what is going on and how best to proceed.

 

-Matt-