Thanks for reporting back! Unfortunately you already have dun set in your primary APN, so that's not what is causing the issue here. I don't have a subscription to the VZW network and am unable to do testing for this issue. When you say that it doesn't work, is it that no traffic passes, that traffic counts towards your tethering allotment, or it's throttled down as if it were regular tethered traffic?
What's most interesting about this approach to me is that you could run the proxy server on the phone, tproxy server on an OpenWRT device, and connect them through an adb tunnel. This in theory would bypass entitlement, APN dun profile, and TTL/HL dpi detection - all with a phone that is in an entirely stock state.
That's right, it uses the iptables tproxy module supported on most modern Android phones to redirect tethered traffic through a local proxy. The idea is that packets are recreated on the phone with the correct TTL/HL and the origin of the traffic is obscured.I take it that your app basically "proxifies/socksifies" traffic on the phone's tether interfaces to a local SOCKS5 proxy service/app on the phone.
What's most interesting about this approach to me is that you could run the proxy server on the phone, tproxy server on an OpenWRT device, and connect them through an adb tunnel. This in theory would bypass entitlement, APN dun profile, and TTL/HL dpi detection - all with a phone that is in an entirely stock state.
This setting effects the preferred protocol version for connected clients (per RFC 3484). GUA tells DNSMASQ to assign local IPs in the 2001:db8::/64 range, which is treated like a real public address, so clients will prefer sending their traffic through IPv6. ULA assigns addresses in the fd00::/64 range, so clients will send traffic through IPv4 by default.For IPv6 "GUA" is global unicast addresses (Internet routable) and "ULA" is unique local addresses (private IP addresses). I am not sure why you would want to choose a ULA in this situation since the goal is Internet access. Are the IP addresses on that configuration screen in the screenshot above the local addresses for the SOCKS5 proxy? If so, would using a ULA address for its IPv6 address mean that the clients would also need ULA addresses to access it? If so, how would the clients get those addresses? Self-generate them or does that setting set dnsmasq to issue ULA IPv6's to the tethered clients? Since (if?) you are using a SOCKS5 proxy to send the Internet traffic I am not sure why you say above that using "ULA" for IPv6 will prefer IPv4 when the IPv4 address is also a private one. Why favor private IPv4 over private IPv6?