I switched my Wireguard from a Raspberry Pi to my Unifi Router. I changed the Wireguard settings on wife's iPhone to new and set it up to connect to VPN all the time except when connected to home wifi. Wireguard is a split tunnel so it only WG for access to the IP address of the MQTT broker. So here is the weird part....
When she leaves the house, Owntracks sends the MQTT messages until she gets about a 1/2 mile from house then they stop until she gets to work and connnects to its wifi. Then, when she leaves, the same thing happens in reverse. I can turn off wifi when she is at home and only connect to cellular data and manually send MQTT messages with VPN on. At first, I thought AT&T might be blocking the common VPN port of 51820 so I changed the port to 51826 but that didn't help. It's weird that the phone still sends the MQTT messages when a 1/2 mile away and obviously outside of Wifi range but then stop for the rest of the trip to/from work. Unfortunately, my wife hates me doing anything with her phone so I have to tread lightly to protect the WAF.
Has anyone experienced similar? Am I missing something simple?