Leave & Attendance
Setting up geofenced and IP-based clock-in on the mobile app
Decide where staff may clock in from their phones: inside a site's geofence, on the office network, or either. A practical setup guide, including the IPv6 detail that catches most people out.
WorkHarmony Product Team5 min read

Letting employees clock in from their own phones removes queues at the terminal and works for people who do not start at a fixed desk. It also raises a fair question: how do you know they were at work when they tapped? WorkHarmony answers it with two checks you can use on their own or together: a location geofence and the company IP network.
Two ways to confirm a clock-in
- Geo check-in compares the phone's location with the coordinates of the employee's work location.
- IP Based Check-In allows the punch only while the phone is connected through one of the site's whitelisted public IP addresses, typically the office Wi-Fi.
IP checks are useful indoors, in basements and in tall buildings where location readings drift. Geofencing suits outdoor sites and people who never join the office network.
Step 1: switch the setting on
Go to Administration ▸ Configurations ▸ Roster & Attendance and turn on Enable IP Based Check-In. The setting arrives switched off, so nothing changes for your employees until you do this.
Step 2: whitelist each site's public IPs
Open Locations and edit a site. While the setting is on, a Whitelisted IPs field appears. Enter one entry per line. Each entry can be a single address or a CIDR range, in IPv4 or IPv6, up to 50 per location.
If you are editing from the office itself, Add my current IP appends the address WorkHarmony sees for you. It is the quickest way to get the right value.
Whitelist the IPv6 prefix, not one address
Many office lines and most mobile networks now use IPv6, and phones change their IPv6 address regularly for privacy. Whitelisting the single address you saw today will fail tomorrow. Ask your internet provider for the prefix delegated to the office, usually a /56 or /64, and whitelist that range. If the office Wi-Fi is dual-stack, add both the IPv4 address and the IPv6 prefix, because a phone that prefers IPv6 will arrive over IPv6.
Step 3: allow the employees
On each employee who should use it, tick Allow IP Based Check-in. Their permitted sites are their assigned clock-in locations, or their posted location if none are assigned. Only sites that have a whitelist count.
For geofencing, the employee needs geo check-in allowed and the site needs its coordinates, as before.
How the rules combine
- If neither geo nor IP check-in is switched on, the app does not restrict where people clock in.
- If either is on, each employee needs at least one method: geo, IP, or both.
- On a whitelisted network the punch is accepted and location is not consulted.
- Off the network, the geofence applies if the employee has it, with the usual location messages.
- Otherwise the punch is refused, and the app shows the IP address it saw and the site names that would have been accepted, so the employee or IT can see what went wrong.
The phone never reports its own IP
The app does not send its address. WorkHarmony's server decides which public IP the request came from, so a modified app cannot simply claim to be on the office network. Each punch also records which method was used, IP or geo, and the address seen, which helps when you review a disputed day.
To check what the server sees, signed-in console users can look up their own current IP, and the app has the same check for employees. Run it from the office before you go live.
Times are recorded in company time
App clock-ins, like device punches, are stored in your company's local time, the same basis as your rosters and schedules. The company time zone is set in Administration ▸ Configurations ▸ General ▸ Time Zone. If that is empty, the time zone on the Company Profile is used. Set it before you roll out mobile clock-in.
Away-time uses the same checks
If you use away-time tracking, its policies can also capture departures and returns by geofence or by IP, using the same site coordinates and whitelists. The employee flags are not needed for that.
A short rollout checklist
- Confirm the company time zone.
- Collect each site's public IPv4 address and IPv6 prefix from the provider.
- Whitelist them on the locations and test with Add my current IP.
- Allow a small pilot group, ask them to clock in on and off the network, and review the recorded method on their punches.
- Extend to everyone once the pilot looks right.
- #attendance
- #mobile app
- #clock-in
- #geofence
- #IP check-in
More to read

Leave & Attendance
How leave proration works in WorkHarmony
Joiners, leavers, part-timers and people who change contract mid-year rarely earn a full year of leave. Here is how WorkHarmony works out what each person has actually earned, and what they can book today.
Read more: How leave proration works in WorkHarmony
Mobile App
Simple Mode: a calmer app for deskless staff
Not everyone wants a full HR app on their phone. Simple Mode gives frontline staff four clear tabs over exactly the same data, requests and approvals.
Read more: Simple Mode: a calmer app for deskless staff
Automation
Never miss a document expiry: a practical guide to Smart Reminders
Passports, licences, contracts and probation reviews all come with dates. Smart Reminders turns the dates you already hold into actionable reminders for the right people, by in-app notice, push and email.
Read more: Never miss a document expiry: a practical guide to Smart Reminders