Live data from Hacker News

iOS allows DNS request to escape the VPN tunnel

twitter.com

31–40 of 78 posts

Re: iOS allows DNS request to escape the VPN tunnel

#31

Earlier quoted context omitted.

SSHing to another machine isn’t a solution, you’re just using a different machine. The way to solve it and still continue to use iOS is to implement your VPN at the network layer. e.g. use one of those wifi routers with a VPN client built in.

They circumvent this by forcing certain traffic to circumvent your hardened WiFi by using the mobile network radios.

That is a possibility but the last I checked it was not the case.

Re: iOS allows DNS request to escape the VPN tunnel

#32

Earlier quoted context omitted.

SSHing to another machine isn’t a solution, you’re just using a different machine. The way to solve it and still continue to use iOS is to implement your VPN at the network layer. e.g. use one of those wifi routers with a VPN client built in.

> The way to solve it and still continue to use iOS is to implement your VPN at the network layer. e.g. use one of those wifi routers with a VPN client built in. That's a little impractical for a phone. You'd have to lug around some kind of VPN-enabled mobile hotspot, plus batteries to power it.

You’re right, it ain’t convenient… but mobile hotspots already have batteries.

Re: iOS allows DNS request to escape the VPN tunnel

#33
For those looking for a workaround, you can get a VPN router in my case, a GL.iNet Mango[0] router.

The great thing: even if the VPN connection drops, it doesn't leak your real/naked IP, and also /all/ traffic on an iOS device has to pass through the VPN. No special exceptions for Apple traffic.

The only caveat is you have to carry this when traveling, which means if you're traveling light, carrying this around could be burdensome. If you are at home most of the time though, such a router is invaluable.

[0] https://www.amazon.co.uk/GL-iNet-GL-MT300N-V2-Converter-Pre-...

Re: iOS allows DNS request to escape the VPN tunnel

#34
post #14

Earlier quoted context omitted.

This doesn't stop apps using things like DNS over HTTPS etc. PiHole works pretty great today, but developers are getting sneakier and sneakier about how to obtain outbound DNS. It's not just unencrypted port 53 all the time anymore. Eventually devices will get the IP for the DNS record they want just fine, if they really want to. PiHole arguably is getting less effective with each passing year as alternate DNS resolu…

> PiHole arguably is getting less effective with each passing year as alternate DNS resolution methods like DNS over HTTPS etc gain traction, and defeating DNS over HTTPS is s a whack-a-mole game today, all you can really do is try to blacklist known DNS over HTTPS server IPs, which is a running battle. Aren't blocking ads another whack-a-mole? So it seems like more of the same. Also, aren't there proxies that you ca…

> Aren't blocking ads another whack-a-mole?

Yes, but the mole-whacker is whoever controls the software doing the rendering. So on a personal computer, the ads are the moles. But on a locked down "phone", the user is the mole.

Re: iOS allows DNS request to escape the VPN tunnel

#35
post #30
post #29

Earlier quoted context omitted.

I thought GPS worked by triangulation? How did you use one transmitter to specifically misdirect receivers to believing they were in North Korea?

> some radios and antennas Still an impressive feat.

I'm calling shenanigans. I used to work in a lab where we had GPS repeaters to test consumer equipment. That alone costs big bucks. And, we had the FAA come down on us big time, because our GPS repeater broadcast outside the building too far and we got into some hot water.

If you were spoofing GPS campus wide over 1.544 GHz and had all your GPS sentences correct, with simple radios and antennas... and you hadn't got in trouble with Uncle Charlie or the FAA....

Re: iOS allows DNS request to escape the VPN tunnel

#36

Add Android to this: https://mullvad.net/en/blog/2022/10/10/android-leaks-connect...

Android only leaks connection checks.

While on IOS any system app doesn't use the VPN or DNS requests.

VPNs are useless on iOS, and its made to be this way, again the "privacy OS" isn't privacy focused at all.

https://www.michaelhorowitz.com/VPNs.on.iOS.are.scam.php

Re: iOS allows DNS request to escape the VPN tunnel

#38
post #9

Always-on VPN that tunnels everything requires MDM commissioning. It's documented by Apple. See the section "Always On VPN": https://support.apple.com/guide/deployment/vpn-overview-depa... Is it dubious that Apple doesn't let VPN apps do this as well? Maybe. But this is known and documented.

I'm not following. Your link appears to be specific to corporate environments. The title of the document is:

"VPN overview for Apple device deployment."

It further states "Secure access to private corporate networks is available in iOS ..."

An individual iPhone user who is not using a company issued device would not be beholden to MDM restrictions or profiles. Nor would access to "private corporate networks" be necessarily relevant.

Re: iOS allows DNS request to escape the VPN tunnel

#39
post #9

Always-on VPN that tunnels everything requires MDM commissioning. It's documented by Apple. See the section "Always On VPN": https://support.apple.com/guide/deployment/vpn-overview-depa... Is it dubious that Apple doesn't let VPN apps do this as well? Maybe. But this is known and documented.

I wonder if there's a small bit of pressure on the device manufacturers to keep DNS leaks happening for consumers. I'd love to be a fly on the wall at some of the NatSec-level conversations.

Re: iOS allows DNS request to escape the VPN tunnel

#40
post #14
post #4

Last that I heard, Raspberry Pi with VPN installed along with PiHole that you SSH/VNC (via iOS app) in to is your best option.

This doesn't stop apps using things like DNS over HTTPS etc. PiHole works pretty great today, but developers are getting sneakier and sneakier about how to obtain outbound DNS. It's not just unencrypted port 53 all the time anymore. Eventually devices will get the IP for the DNS record they want just fine, if they really want to. PiHole arguably is getting less effective with each passing year as alternate DNS resolu…

We will need to keep a list of DNS IPs to block access through ports 80 and 443.
Post reply on HN