this post was submitted on 02 Jul 2025
17 points (100.0% liked)

Life Pro Tips

3048 readers
1 users here now

Unlocking the Secrets to Success and Fulfillment!

Rules

  1. Share valuable life pro tips.
  2. Keep it concise and clear.
  3. Stay on-topic.
  4. Respect fellow members.
  5. No self-promotion.
  6. Verify information before sharing.
  7. Avoid illegal or unethical advice.
  8. Report rule violations.

Join us and share your best life pro tips!

founded 2 years ago
MODERATORS
 

TTL

The default TTL for Android is 64. Default for Linux is 64. Default for Windows is 128.

When a packet passes through the router, its TTL is decreased by 1. So a packet from your phone will have TTL of 64, while one from device on hotspot will get decremented to 63 when passing your phone, acting as a router.

Unless it starts with 65, then gets decremented to 64, the same as with your phone directly.

On Linux you can temporarily change this with

sysctl net.ipv4.ip_default_ttl=65

as root.

If the carrier just checks the TTL, congrats.

I haven't played around with IPv6 hop limit.

HTTP proxy

If that doesn't work, you can try to proxy traffic through the phone. I like to use Tinyproxy in Termux.
The config is pretty simple, and also supports (unencrypted) authentication with username and password.

Another option is an all in one app like TetherFi. It creates WiFi Direct group (without direct internet access), and has a built-in HTTP proxy.

Both ways allow also using your phone's VPN.

The HTTP proxy can be easily configured in Firefox, for example. For Android, there is a pretty cool app called NekoBox which is a proxy client for many different protocols. It uses the VPN interface to pass everything through the proxy, thus giving you full device connectivity on the other device.

TinyProxy: https://tinyproxy.github.io/ (can simply be apt installed in Termux)

Termux: https://f-droid.org/en/packages/com.termux/ (terminal emulator for Android)

TetherFi: https://github.com/pyamsoft/tetherfi

NekoBox: https://github.com/MatsuriDayo/NekoBoxForAndroid

top 1 comments
sorted by: hot top controversial new old
[–] Object@sh.itjust.works 3 points 3 days ago

There's also something along the lines of adding dun to APN to bypass this limit, which doesn't require root but I can't remember the exact details...