fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Expose public IP and geolocation for mobile devices

Open kc9wwh opened this issue 1 year ago • 5 comments

  • customer-eponym: Slack thread: https://fleetdm.slack.com/archives/C04QDDZNQ2H/p1753799402457749
  • @noahtalerman: User requested this because managing geographically distributed iOS devices (like kiosks) requires location-aware configuration. eponym wants to be able to lock iOS/iPadOS (kiosk) devices in single app mode with a Safari URL that shows a map of the office.

    • @noahtalerman: In the interim IT admins can create a unique team for each location.
    • @noahtalerman: Eventually Fleet could collect and expose iOS/iPadOS devices public IP, private IP, and geolocation data. Fleet could also add the ability to create labels based on location. This way, the IT admin can deploy location specific configuration profiles.

kc9wwh avatar Jul 14 '25 17:07 kc9wwh

Moved the original request:

Problem

It is not currently possible to determine an iOS device's physical location automatically. This makes it difficult to manage devices, such as kiosks, that are deployed across multiple offices or locations. We need a way to apply location-specific configurations (like Wi-Fi profiles or app installations) without manual intervention. For example, a kiosk moved from a New York office to a San Francisco office should automatically receive the appropriate profiles for its new location.

A similar request has been made by other users in the Jamf Nation community, highlighting the need for IP address reporting for better device scoping and troubleshooting in large environments.

What have you tried?

I have reviewed the available device properties for iOS in Fleet and found that there is no field for public IP address or geolocation. While Fleet's audit logs capture the public IP of a user logging in, this information is not available for enrolled devices. The current data does not allow for the creation of policies or profiles that are conditional on a device's location.

Potential solutions

The ideal solution would be to expose the public IP address and geolocation (latitude and longitude) of enrolled iOS devices. This data should be available in the device's details page and as queryable attributes for policies.

This would involve:

  • Periodically collecting the public IP address and location data from the device.
  • Storing this information as new columns in the hosts table (e.g., public_ip_address, latitude, longitude).
  • Displaying the Public IP and a map with the device's location on the host details page.

Other MDM solutions have implemented similar features, where the device's location is determined by its OS-level location services or the public IP address from the ISP.

What is the expected workflow as a result of your proposal?

  1. An administrator enrolls an iOS device in Fleet.
  2. Fleet automatically collects and regularly updates the device's public IP address and geolocation.
  3. The administrator can view the device's last known public IP and location on the host details page.
  4. The administrator can create a policy with a query that targets devices based on their location. For example: SELECT * FROM hosts WHERE public_ip_address LIKE '198.51.100.%' or SELECT * FROM hosts WHERE latitude BETWEEN 40.0 AND 41.0.
  5. Based on this policy, a location-specific profile is automatically applied to the device (e.g., office Wi-Fi, local printer configurations, or region-specific app installations).
  6. If a device moves to a new location, Fleet detects the change in public IP/geolocation, and the device automatically receives the correct profiles for the new location.

noahtalerman avatar Aug 04 '25 18:08 noahtalerman

Eventually Fleet could collect and expose iOS/iPadOS devices public IP, private IP, and geolocation data

Should also include Android.

GrayW avatar Jan 29 '26 11:01 GrayW

Linked to Unthread ticket:

Conversation #11910

Sampfluger88 avatar Jan 29 '26 11:01 Sampfluger88

Hey @georgekarrv - Tagging this as an activation blocker for customer-rosner's BYOD deployment. I'd like to try and get this in v5.1.0 if that is doable

pintomi1989 avatar Oct 20 '26 20:10 pintomi1989

Hey @pintomi1989 , George is a bit busy this week with interviews so I can take this and track it with a user story. We can prioritize this for 5.1.0 as well.

Leanngove avatar Oct 20 '26 21:10 Leanngove