It may be easier to just run a VPN on the phone? WireGuard runs on Android. I’ve never tried configuring it to forward data through it though, but it should work.
Comment on I have unlimited cellular data on my phone but not if I use it as a hotspot.
owenfromcanada@lemmy.world 8 months agoA less complicated method that I used for years:
- Install SimpleSSHD on your phone
- If you’re running Windows, install PuTTY on your PC
- Connect to SimpleSSHD through PuTTY/ssh and set a parameter for dynamic forwarding (CLI option is
-D 8888
) - Set your web browser or application to use SOCKS5 proxy at
localhost
port8888
It doesn’t redirect all traffic (you’d want to avoid system updates, for example) but might be easier than messing with iptables.
dan@upvote.au 8 months ago
owenfromcanada@lemmy.world 8 months ago
I tried that, the carrier could still differentiate it from local traffic (or at least my speed test results were vastly different).
dan@upvote.au 8 months ago
It’s possible they’ve gotten smarter these days.
I don’t know how ISPs are allowed to do this when it’s a very obvious violation of net neutrality.
owenfromcanada@lemmy.world 8 months ago
If I recall correctly, they justify it by claiming they need to do deep packet inspection to balance traffic. There’s a fuzzy line between them needing to optimize their network equipment and respecting privacy, and the rulings seem to favor the former.
michael_palmer@lemmy.sdf.org 8 months ago
There is an app that can change TTL value through
iptables
. It requires root.