@Zlo posted this earlier:
netsh int ipv4 set glob defaultcurhoplimit=128 -> for windows
sudo sysctl net.ipv4.ip_default_ttl=128 -> for linux
For windows you will want to be logged in as an administrator or open a CMD window as an administrator.
For linux you could skip the sudo part if you are already logged into a shell as a root