I'm writing a small app for the iPhone to manage my Sophos XG at home but no matter what I do the App gets rejected by the API saying the IP address isn't authorized. The weird thing is the iOS Simulator uses the IP address of the Mac it's running on (which is in the API ACL list). To make it even weirder if I call the API from Safari on the Mac or even Safari on the iPhone simulator the API works fine.
And the App is working because it gets a correctly formulated response back from the API.
<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1700.1">
<Status code="534">API operations are not allowed from the requester IP address.</Status>
</Response>
The only thing I can think of is there is some other check that Sophos is doing against the HTTP header that my app isn't setting.
Anyone have any ideas?
This thread was automatically locked due to age.