Is this possible on any modern day phone or tablet? Selfhosting as made me very privacy-consciouss and am concerned about my iphone.

  • NeoNachtwaechter@lemmy.world
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    1
    ·
    edit-2
    16 days ago

    Yes. Firewalls.

    With an iPhone, however, you are screwed. Apple won’t let you do what you are looking for.

    • seang96@spgrn.com
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      16 days ago

      VPN would still work for iPhone I imagine. Small whitelist of DNS would do 90%+ of the job.

          • undefined@lemmy.hogru.ch
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            16 days ago

            I killed off ads in the News app by blocking doh.apple.com. I find it kind of funny that it looks up its DoH server IP using the existing DNS server and that simply returning NXDOMAIN cuts it off.

            Not sure if they use it for much more than that though (doesn’t seem like it).

      • NeoNachtwaechter@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        1
        ·
        edit-2
        16 days ago

        True, somewhat… but on the iPhone, many functions that seem like basic things are tied to Apple’s services and cannot easily replaced by selfhosted services. This phone would not work properly anymore.

          • NeoNachtwaechter@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            16 days ago

            In the other reply, you said something about GPS.

            Well, location services aren’t really GPS anymore.

            The phone looks at all of it’s radio environment (cell and WiFi and whatnot) and from that it calculates it’s location. GPS may help a little, too, but it’s not important.

            It needs Apple’s own databases to do that: collections of all antennas in the world, and their known locations.

            • zingo@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              3
              ·
              edit-2
              16 days ago

              Hmmm. That could be what’s slowing down the GPS locking on my old android phone I use for my fitness app.

              No SIM card or WiFi access. Takes a good 20 min just to get a GPS lock.

              That means it fucks up my distance monitoring and time intervals, if I don’t have patience to wait, which I honesty don’t!

              The app is basically a fancy timer at this point.

              ;)

              • NeoNachtwaechter@lemmy.world
                link
                fedilink
                English
                arrow-up
                4
                ·
                16 days ago

                In that case, your phone needs to “see” at least 4 satellites at the same time (more is even better) to get the first GPS lock, and that’s probably why you need to wait for so long.

                It could help to walk to a spot with no buildings, trees etc.

                Once there was an app called “GPS essentials” to help with that.

    • farcaller@fstab.sh
      link
      fedilink
      English
      arrow-up
      6
      ·
      16 days ago

      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.