Answer the question
In order to leave comments, you need to log in
How to set TTL=129 on Mac OS X?
The question is very non-standard. The provider blocks routers, and as a workaround, you can set the packet lifetime to one more than the default, that is, 129. On windows, this is done simply by changing the value in the registry, but how on a MacBook? Many thanks to those in the know!
Answer the question
In order to leave comments, you need to log in
Mac OS 10.10
sudo sysctl -w net.inet.ip.ttl=65
makes changes, but the ttl doesn't really change, everything worked before the update. Tried restarting interfaces.
You reboot the system and it crashes to 64, before it seemed to me that on poppy sysctl changes ttl all the time, at least on android and debian it’s definitely permanent, and if you write to /proc until reboot.
#update
Found a solution, sysctl really works until the reboot to achieve a constant value:
1. Create the file /etc/sysctl.conf
2. Add the line
net.inet.ip.ttl=65 to it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question