美文网首页
macos下修改默认ttl

macos下修改默认ttl

作者: ericleel | 来源:发表于2016-07-04 10:32 被阅读0次

Changing the TTL is a fairly uncommon task, but if you're sure you want to do it, you can viasysctl

sysctl -w net.inet.ip.ttl=64

(or whatever value you prefer).

Changes made viasysctlare transient, and lost when you reboot. If you want the change to be persistent, add the 'variable=value' to /etc/sysctl.conf

相关文章

网友评论

      本文标题:macos下修改默认ttl

      本文链接:https://www.haomeiwen.com/subject/juvcjttx.html