Skip to content

Instantly share code, notes, and snippets.

@farneser
Last active September 5, 2025 15:38
Show Gist options
  • Save farneser/3acdc050b59235e95c96802747b02113 to your computer and use it in GitHub Desktop.
Save farneser/3acdc050b59235e95c96802747b02113 to your computer and use it in GitHub Desktop.
How to change TTL on windows 10/11 in on command

Change windows 10/11 TTL in one command and reboot

netsh int ipv4 set glob defaultcurhoplimit=65

Check TTL value

ping 1.1.1.1

Use 1.1.1.1 or any IP

@Vaviloff
Copy link

Vaviloff commented Sep 5, 2025

Indeed it didn't work today on Windows 11

Actually it worked, but I've had to set the custom TTL for IPv6 as well

netsh int ipv6 set glob defaultcurhoplimit=65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment