Is there a way to guarantee a mobile device or tablet can only access my own services and block all other traffic?
Is there a way to guarantee a mobile device or tablet can only access my own services and block all other traffic?
Is this possible on any modern day phone or tablet? Selfhosting as made me very privacy-consciouss and am concerned about my iphone.
Yes. Firewalls.
With an iPhone, however, you are screwed. Apple won't let you do what you are looking for.
You can enforce an always-on VPN (for at least ipsec) via an MDM profile. This kind of features isn’t found in the casual user setup options, but there's plenty of knobs to tune in the enterprise profile configurator.
And yes, you can easily install that profile on your phone after.
Except, apple is bypassing VPN for their own tracking:
https://appleinsider.com/articles/22/10/12/most-apple-apps-on-ios-16-bypass-vpn-connections
https://www.reddit.com/r/apple/comments/yfhmfw/ios_161_allows_certain_apps_to_bypass_vpn/