TTL setup on WG3526
Posted: Mon Jun 14, 2021 4:49 pm
<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>
<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>