editting the TTL value
My friend gave me these instructions on How to bypass bandwidth limits on your macOS Monterey when using Visible Wireless through a hotspot (actually he said it works with any carrier). He said add these commands for changing the TTL , running them in terminal:
sudo sysctl net.inet.ip.ttl=65
sudo sysctl net.inet6.ip6.hlim=65
I have no idea if this is "legal", if it's not, since I'm on the apple forum maybe you will say I can't do this, but if I can -- I have no idea where to add these codes once in terminal. Can anyone give me directions on how to do this, and how to make it permanent?
I found this answer here to someone's question on changing the TTL and making it permanent. Itb makes no sense to me. Is this in a file in terminal mode? Is it called config file? I have a minimal knowledge of coding.
A:Changing the TTL is a fairly uncommon task, but if you're sure you want to do it, you can via sysctl
<pre class=command>sysctl -w net.inet.ip.ttl=64</pre>
(or whatever value you prefer).
Changes made via sysctl are transient, and lost when you reboot. If you want the change to be persistent, add the 'variable=value' to /etc/sysctl.conf
I hope this makes sense, Thanks in advance for any help you can offer!
Lola
It's for me to use a hotspot in my van.
https://www.youtube.com/user/LolaEliz
MacBook Pro 15″, macOS 12.5