Originally Posted by nobaddreams
Seems to work on Magisk rooted Pixel 2 XL running Pie, as long as "Apply to all network interfaces using /proc" is selected.
`/proc` mode doesn't cover tethering usage, your ROM lacks the `iptables` and/or kernel stuff. I don't know how to programmatically detect what the case is.
Originally Posted by NeoZiggy
I wanted to thank the dev for his/her work! I'm currently using this to hopefully hide Hotspot usage from CricKet on a rooted Blu Android 7 device. Seems to work.
My understanding is, I have to turn on Hotspot and connect the devices that will be using it, and then apply the TTL setting to all interfaces? And if another device were to connect then I would need to re-apply the settings?
Do not use "Apply to all interfaces" for tethering, it doesn't work for that (unless your phone is the one connecting to another phone's hotspot.)
For tethering, you should apply specifically to the cellular interface, and you will need a custom ROM or kernel with the necessary drivers (specifically xt_HL, which is the netfilter Hop Limit firewall plugin, Hop Limit being the name for TTL - Time-To-Live - in IPv6). You will also need an iptables binary (use XDA to find one, of course!)
There's a few other caveats I've learned over the past few years but I can't remember them. It's all basic Linux networking stuff, though.
Sorry I'm too busy to be much help anymore.