TTL and more settings, what else?

Topics addressing TTL settings for Throttling, Tethering and Hotspot Usage
Forum rules
Use the SEARCH function for related topics PRIOR to posting a new topic on the same subject.
Post Reply
Prvt.N00b
Posts: 33
Joined: Thu Nov 19, 2020 5:55 pm
Has thanked: 14 times
Been thanked: 6 times

TTL and more settings, what else?

Post by Prvt.N00b »

I have been reading here and there about TTL, but what other setting, configuration and more we need to consider in order to hide successfully our data consumption from the hotspot monthly allotment.

if there is a list that can be shared it'll be awesome.


thanks,
Heifer624
Posts: 20
Joined: Sat Dec 19, 2020 11:41 am
Has thanked: 0
Been thanked: 7 times

Re: TTL and more settings, what else?

Post by Heifer624 »

VPN
punkguy00017
Posts: 173
Joined: Thu May 14, 2020 1:45 pm
Has thanked: 2 times
Been thanked: 26 times

Re: TTL and more settings, what else?

Post by punkguy00017 »

Verizon ttl 64
Atnt/FirstNet ttl 65
Visible need to set as follows

#start TTL rules
iptables -t mangle -I POSTROUTING -j TTL --ttl-set 64
iptables -t mangle -I PREROUTING -j TTL --ttl-set 64
ip6tables -t mangle -A POSTROUTING -o wwan0 -j HL --hl-set 65
ip6tables -t mangle -I PREROUTING -i wwan0 -j HL --hl-set 65
#end TTL rules
punkguy00017
Posts: 173
Joined: Thu May 14, 2020 1:45 pm
Has thanked: 2 times
Been thanked: 26 times

Re: TTL and more settings, what else?

Post by punkguy00017 »

I know cause these are what worked for me
Dre40
Posts: 30
Joined: Tue Dec 08, 2020 12:28 am
Has thanked: 14 times
Been thanked: 5 times

Re: TTL and more settings, what else?

Post by Dre40 »

TTL 64 or 65 seems to work with T-Mobile ok at this time. It doesn't hide the data use with just TTL it just lets you use it like it's a phone (not hotspot). For T-Mobile anyway they text me a warning with over 50gb of data use (phone use or not) and "can" throttle me during peak hrs/congestion (I have noticed what might be throttling but is more likely congestion 5-9pm on weeknights). I do run a VPN on the phones/tablet but don't bother with it on the PC or TVs (need the speed and VPN slows things down a bit, would do it if it was needed). I also have 3 sims currently (3 lines) for use with wifi (split the data between them, as I often hit 300gb).
punkguy00017
Posts: 173
Joined: Thu May 14, 2020 1:45 pm
Has thanked: 2 times
Been thanked: 26 times

Re: TTL and more settings, what else?

Post by punkguy00017 »

yea verizon slows me down from 6 am to 3 pm after that its full lte
punkguy00017
Posts: 173
Joined: Thu May 14, 2020 1:45 pm
Has thanked: 2 times
Been thanked: 26 times

Re: TTL and more settings, what else?

Post by punkguy00017 »

im stuck with them fkers for the next 2 yrs so ill be getting my monies worth out of them expensive bastards
Prvt.N00b
Posts: 33
Joined: Thu Nov 19, 2020 5:55 pm
Has thanked: 14 times
Been thanked: 6 times

Re: TTL and more settings, what else?

Post by Prvt.N00b »

Hi everyone, there is something I'm doing wrong, I used TTL 65 with almost every company down here where I live, however there is just one company that this trick doesn't work(Digicel), I have tested almost every number from 60 up to 119 and they still know I'm tethering.

With the other 3 companies It worked just perfect, I have also tested with a prepaid sim card plan that doesn't even give you data for tethering and it works for me, however with the one I mentioned above it brings me to their homepage and I can only get messages from WhatsApp.
shwaba
Posts: 28
Joined: Tue Aug 13, 2019 5:35 am
Has thanked: 11 times
Been thanked: 10 times

Re: TTL and more settings, what else?

Post by shwaba »

Using OpenWRT firmware like GoldenOrb or WiFix.

You should be setting the TTL under Network > Firewall > Custom Rules

See this post on tethering: https://wirelessjoint.com/viewtopic.php?p=10303#p10303
User avatar
Tuna8er
Posts: 71
Joined: Wed Aug 18, 2021 3:05 pm
Has thanked: 32 times
Been thanked: 6 times

Re: TTL and more settings, what else?

Post by Tuna8er »

I have 2 mofi 4500 SIm 7 using Vis*b1e, for about 7 months.. I use linux 2 65 for the TTL. I average 10-15 mbps on B66. I can play Xbox all day, COD, Battlefield 4, and Sea of thieves, while running a Roku and TV on the other with 3 amazon dot type devices, and an Amazon Sow. The Mofi's go into a WAN load balancing VPN Router/lan sitter (VPN not setup, but DNS is), to Two Asus routers one with VPN one without. One with goes to 3 Xboxes, can only use 1 at a time effectivly, just in different roomes. The one without runs the rest of the house and my PC stick (with VPN installed on it)

Be sure to check your MTU and MSS settings as well.
I use 1415 for MSS. MTU is set to 1455. I got these from a youtube video, seems to work.
I just ordered 2 EM12-G CAT 12 modems for them, but not installed yet. Although the slower speeds may look like a normal cell runinng idle with background programs running. Rather than full boar 24/7 like I am on meth or something searching up every bump I hear in the night. Perhaps slower will turn out to be less detectable by the carrier, don't want my IMEI blacklisted. Guess I'll find out.
LoveMeSomeCALTE
Posts: 249
Joined: Sun Jul 05, 2020 2:29 pm
Has thanked: 239 times
Been thanked: 30 times

Re: TTL and more settings, what else?

Post by LoveMeSomeCALTE »

punkguy00017 wrote: Wed Dec 23, 2020 1:19 pm Visible need to set as follows

#start TTL rules
iptables -t mangle -I POSTROUTING -j TTL --ttl-set 64
iptables -t mangle -I PREROUTING -j TTL --ttl-set 64
ip6tables -t mangle -A POSTROUTING -o wwan0 -j HL --hl-set 65
ip6tables -t mangle -I PREROUTING -i wwan0 -j HL --hl-set 65
#end TTL rules
Why the different TTL for IPV4 vs IPV6?
DDK65JAG
Posts: 20
Joined: Fri Jul 09, 2021 1:21 pm
Has thanked: 0
Been thanked: 4 times

Re: TTL and more settings, what else?

Post by DDK65JAG »

Glad to see someone ask that. I'm using visible, I set my modem TTL to 64 for both IPV4 & IPV6 and
I see 85-87mbps dn & 17-20mbps up. I use a second set of TTL rules for tethering, those are set to
65 for both IPV4/IPV6, the only thing limited is video streaming since I don't use a VPN.

DDK
punkguy00017
Posts: 173
Joined: Thu May 14, 2020 1:45 pm
Has thanked: 2 times
Been thanked: 26 times

Re: TTL and more settings, what else?

Post by punkguy00017 »

Because Visible has to go thru Verizon since it's a third party provider
gscheb
Posts: 1595
Joined: Tue Sep 10, 2019 10:37 am
Has thanked: 85 times
Been thanked: 329 times

Re: TTL and more settings, what else?

Post by gscheb »

DDK65JAG wrote: Fri Aug 20, 2021 3:03 pm Glad to see someone ask that. I'm using visible, I set my modem TTL to 64 for both IPV4 & IPV6 and
I see 85-87mbps dn & 17-20mbps up. I use a second set of TTL rules for tethering, those are set to
65 for both IPV4/IPV6, the only thing limited is video streaming since I don't use a VPN.
DDK
Hello,
Is this still working for you without a vpn?
DDK65JAG
Posts: 20
Joined: Fri Jul 09, 2021 1:21 pm
Has thanked: 0
Been thanked: 4 times

Re: TTL and more settings, what else?

Post by DDK65JAG »

Yes.
gscheb
Posts: 1595
Joined: Tue Sep 10, 2019 10:37 am
Has thanked: 85 times
Been thanked: 329 times

Re: TTL and more settings, what else?

Post by gscheb »

DDK65JAG wrote: Sun Aug 29, 2021 2:20 pmYes.
Huh there is allot of people including my self that this doesn't work anymore. Had to higher the TTL and add a VPN. Odd that your is working for some reason. Wondering what the difference could be?
DDK65JAG
Posts: 20
Joined: Fri Jul 09, 2021 1:21 pm
Has thanked: 0
Been thanked: 4 times

Re: TTL and more settings, what else?

Post by DDK65JAG »

Who knows? I'm no Guru, hell I didn't even sleep at that famous hotel. As I understand it, Android
uses a native TTL of 64 as does Linux & Apple & Mac, Windows uses 128. So, if an ISP is using TTL to
identify a device as a phone they'd be looking for 64. The Android native tethering app decrements
the TTL by one(probably to satisfy ISPs). As far as I can tell modems do not decrement the TTL. So,
for router>modem I use TTL/HL of 64, for router>phone I use 65, as it leaves the phone as 64. I use
the same values for both IPV4 & IPV6, I can't understand why they'd be different values. If you know
a reason, pray tell. As for all the strange TTLs I've seen mentioned, maybe they're forced on device
manufacturers for Id purposes, who knows? As to why 64/65 don't seem to work for others, maybe
Visible is using more than TTL alone, I only buy used modems from devices the manufacturer has
had authorized on the nerworks (i.e. laptops/cradlepoint etc.) & of course generic firmware.

DDK
Prvt.N00b
Posts: 33
Joined: Thu Nov 19, 2020 5:55 pm
Has thanked: 14 times
Been thanked: 6 times

Re: TTL and more settings, what else?

Post by Prvt.N00b »

I did some magic, and now my sierra wireless has an Ipad IMEI and also changed the TTL to 90, this seems to work pretty well too.


just wanted to share the info so anyone can test and report back
User avatar
Tuna8er
Posts: 71
Joined: Wed Aug 18, 2021 3:05 pm
Has thanked: 32 times
Been thanked: 6 times

Re: TTL and more settings, what else?

Post by Tuna8er »

With what company/carrier?
kz333
Posts: 12
Joined: Mon Sep 13, 2021 9:39 am
Has thanked: 0
Been thanked: 3 times

Re: TTL and more settings, what else?

Post by kz333 »

I don't know when this regression was introduced, but all hotspot features of Android 10.3.12 seem to rewrite the TTL of packets so you are out of luck tethering with the phone. You need to use an app which tunnels data between computer and the phone using android usb debugging, and I found the most reliable app for this is easytether pro. It is capable of shuttling hundreds of megabits per second and it is efficient. My phone does not even warm when using data intensively with this app. There are many PC clients. I use the one for Arch Linux. With this app, the traffic appears to originate from a native phone app, bypassing hotspot throttling. You don't need any TTL rules with this method.

I still prefer my EM12-G with TTL 64 iptables postrouting mangle rules because its always faster than my phone, despite being a worse modem than my 4x4 MIMO phone. Antennas are really so incredibly important, and seem to outweigh many benefits of having a better modem.
User avatar
Rich Hathaway
Posts: 542
Joined: Mon Mar 08, 2021 2:41 pm
Has thanked: 8 times
Been thanked: 186 times

Re: TTL and more settings, what else?

Post by Rich Hathaway »

kz333 wrote: Mon Sep 13, 2021 1:48 pm I don't know when this regression was introduced, but all hotspot features of Android 10.3.12 seem to rewrite the TTL of packets so you are out of luck tethering
It still works fine without the need for any router or vpn on visible os 10.x thru 11
Your phone is subject to the same rules as you are within iptables and its loaded modules so,
If it is not working for you check your settings, when u set your rules (if that is what u do) always use post rules not pre rules for obvious reasons, and always check your work by pinging it before u do anything else if not for any other reason then visible loves to kill sim cards and keep your money, that is their signature move.
kz333
Posts: 12
Joined: Mon Sep 13, 2021 9:39 am
Has thanked: 0
Been thanked: 3 times

Re: TTL and more settings, what else?

Post by kz333 »

Rich Hathaway wrote: Mon Sep 13, 2021 3:01 pm It still works fine without the need for any router or vpn on visible os 10.x thru 11
Your phone is subject to the same rules as you are within iptables and its loaded modules so,
If it is not working for you check your settings, when u set your rules (if that is what u do) always use post rules not pre rules for obvious reasons, and always check your work by pinging it before u do anything else if not for any other reason then visible loves to kill sim cards and keep your money, that is their signature move.
I triple checked my TTL rules. I use both an LTE modem and the Android USB tether with iptables rules. Only Android ignores the TTL settings. It's not a problem with my configuration.
User avatar
Rich Hathaway
Posts: 542
Joined: Mon Mar 08, 2021 2:41 pm
Has thanked: 8 times
Been thanked: 186 times

Re: TTL and more settings, what else?

Post by Rich Hathaway »

kz333 wrote: Mon Sep 13, 2021 6:05 pm . It's not a problem with my configuration.
Friend,
if its not working then obviously there is something wrong with it because it does work on android, I dont know if you want
help or not, but you should ping it and see what ttl it is sending out if it is not what you edited it to be then your edit is bad and you should check it by opening a cmd line and cd to a directory in which you have adb and its dependencies and send each one of your commands you are using one at a time and see if adb return any errors for perhaps a module that is not installed such as mangle or other, or if that all check out then use a different method to make your edits or update your kernel perhaps.
sastone75
Posts: 2
Joined: Mon Jan 10, 2022 3:34 pm
Has thanked: 17 times
Been thanked: 1 time

Re: TTL and more settings, what else?

Post by sastone75 »

DDK65JAG wrote: Fri Aug 20, 2021 3:03 pm Glad to see someone ask that. I'm using visible, I set my modem TTL to 64 for both IPV4 & IPV6 and
I see 85-87mbps dn & 17-20mbps up. I use a second set of TTL rules for tethering, those are set to
65 for both IPV4/IPV6, the only thing limited is video streaming since I don't use a VPN.

DDK
What type of modem are you using? I'm on Visible as well and I have the Netgear M1 tethered to a GL-iNet router. I used the Visible TTL's mentioned earlier in this threat. I believe it's 64 for IPV4 and 65 for IPV6. I was wondering what the benefits would be to do it the way you mentioned in your post. I originally had them all as 65 in the router and then tried the ones in this thread and got better more reliable speeds. The only thing I noticed is that if I have my cell phone on wifi the speeds on my phone are really really slow. Everything else gets great speeds, it's really weird.
gscheb
Posts: 1595
Joined: Tue Sep 10, 2019 10:37 am
Has thanked: 85 times
Been thanked: 329 times

Re: TTL and more settings, what else?

Post by gscheb »

Yes there is something very weird with Visible these days.
george13
Posts: 2
Joined: Thu Sep 02, 2021 12:14 am
Has thanked: 0
Been thanked: 1 time

Re: TTL and more settings, what else?

Post by george13 »

Could you please share - how did you change device ID in your modem? Thank you.
Prvt.N00b wrote: Mon Sep 06, 2021 6:21 pm I did some magic, and now my sierra wireless has an Ipad IMEI and also changed the TTL to 90, this seems to work pretty well too.


just wanted to share the info so anyone can test and report back
User avatar
Didneywhorl
Posts: 3609
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1359 times
Been thanked: 754 times
Contact:

Re: TTL and more settings, what else?

Post by Didneywhorl »

george13 wrote: Mon Jan 17, 2022 6:36 pm Could you please share - how did you change device ID in your modem? Thank you.
WE don't share that info on this site. Too many international laws on device identity changes to risk getting the forum shut down.

But you can Search the googlewebz for Sierra and keygen and .py and how to use it. Might get you somewhere.
Prvt.N00b
Posts: 33
Joined: Thu Nov 19, 2020 5:55 pm
Has thanked: 14 times
Been thanked: 6 times

Re: TTL and more settings, what else?

Post by Prvt.N00b »

I was reading recently about DPI and someone manage to bypass the restriction using something like VDS, I couldn't read more because it was in Russian and google translate messed up the translation...
ruraltx
Posts: 12
Joined: Fri Feb 25, 2022 12:02 pm
Has thanked: 0
Been thanked: 5 times

Re: TTL and more settings, what else?

Post by ruraltx »

I used TPWS for anti-DPI:
https://github.com/bol-van/zapret
It's easy to build it for different platforms like routers and Android, so you can set it up however you like.
Prvt.N00b
Posts: 33
Joined: Thu Nov 19, 2020 5:55 pm
Has thanked: 14 times
Been thanked: 6 times

Re: TTL and more settings, what else?

Post by Prvt.N00b »

ruraltx wrote: Tue Mar 01, 2022 11:53 am I used TPWS for anti-DPI:
https://github.com/bol-van/zapret
It's easy to build it for different platforms like routers and Android, so you can set it up however you like.
any video tutorial available it'll be nice.

Thanks
Post Reply

Return to “TTL Settings - Throttling, Tethering and Hotspot Usage”