TTL setup on WG3526

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
ana.ray
Posts: 6
Joined: Thu Mar 26, 2020 8:15 am
Has thanked: 0
Been thanked: 0

TTL setup on WG3526

Post by ana.ray »

<t>Thanks to the post by BillA on how to tether a phone to a router over wifi I was able to get my WG3526 back up (the sim slot broke). In my case I am using the MiFi8000 to provide the wifi signal to the router. I know that there is a mistake on my part concerning the custom firewall iptables. My question is what do I set the ttl to in the following code:<br/>
<br/>
iptables -t mangle -I POSTROUTING -o radio<x>.network2 -j TTL --ttl-set 65<br/>
iptables -t mangle -I PREROUTING -i radio<x>.network2 -j TTL --ttl-set 65<br/>
ip6tables -t mangle -A POSTROUTING -o radio<x>.network2 -j HL --hl-set 65<br/>
ip6tables -t mangle -I PREROUTING -i radio<x>.network2 -j HL --hl-set 65<br/>
<br/>
Using the Ookla speedtest this is what I get:

at 65 ping is 90 down 1.71 up .77 <br/>
at 64 ping 360 down 2.21 up 0.83<br/>
at 66 ping 190 down 1.8 up 0.72<br/>
<br/>
My DNS is set to 8.8.8.8<br/>
<br/>
What else can I tweak? Is there anything on the Mifi side I need to enable/disable?<br/>
<br/>
Thanks</t>
Adm1jtg
Posts: 395
Joined: Sat Aug 08, 2020 7:19 pm
Has thanked: 8 times
Been thanked: 116 times

Re: TTL setup on WG3526

Post by Adm1jtg »

Your not doing anything wrong here is what I believe is happening. Your mifi8000 is a verizon device, thereby verizon knows its a hotspot device and the ttl trick wont work since it knows that a hotspot device should only use hotspot data.

Heres the fun part about verizon, if it doesnt recognize the device, aka its NOT in their registered database it will likely lock out the sim, and require you to register the device, if it does know what the deivce is meaning its registered then the ttl trick wont help unless the device is a phone.

So damned if you do and damned if you dont.

There really arent any good ways to make this work.

I seem to recall in the past people having luck with visable in this tyoe of scenario but I know from personal expierence there is no LEGAL way on verizon in this type of setup to trick them to use regular data as opposed to using hotspot data.

Now I am NOT the end all be all final say or super nerdy specialist that is NEVER wrong by any means but I have been messing with a setup similar to yours for 2 years and am fairly confident I know most of the ins and outs by this point.
mtl26637
Posts: 326
Joined: Mon Jul 29, 2019 12:35 pm
Has thanked: 3 times
Been thanked: 102 times

Re: TTL setup on WG3526

Post by mtl26637 »

Sounds like you have the connection up and running. As far as the 'iptables' settings you would just need to make sure that the -i (interface) is correct for your setup. In most cases you can go to the /network/interfaces/ tab and look at what device the "WAN1" connection is tied to and that is what is entered after the "-i" in the TTL settings. As far as additional tweaks go, there could be several reasons the speeds aren't optimal. It could be the WAN wifi connection from phone to router or it could be the link from the phone to the tower. You might try to tether with usb cable to router to remove that part from the equation?
Post Reply

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