Skip to content
24stefanPublic

About

CNCMAN provides two simple scripts (.sh for Linux, .bat for Windows) that change the system TTL value. The default is set to 65, a value often discussed online because it compensates for TTL decrements introduced by routing, tethering, or intermediate hops.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CNCMAN

CNCMAN is a small script designed for changing the TTL (Time To Live) value on your device. It is provided in two versions:

  • cncman.sh for Linux
  • cncman.bat for Windows

The script changes the TTL value to 65 by default.


Why TTL is set to 65

If you search around Reddit and similar forums, you’ll notice a recurring question: “Why does everyone set TTL to 65?”

There are a few practical reasons why this value is commonly used:

  • Most desktop operating systems use 64 as the default TTL
  • Mobile networks often decrease TTL by 1 when traffic is forwarded or tethered
  • When your traffic goes through a phone or hotspot, TTL becomes 63, which can be used by ISPs to detect tethering
  • By setting TTL to 65, the value drops to 64 after one hop, which looks like normal device traffic
  • This avoids obvious TTL-based heuristics used by some providers to distinguish phones from PCs or routers

Where TTL is defined in the script

The TTL value is hardcoded near the top of the script, on purpose, so it’s easy to find and change.

  • In cncman.sh, look for:

    TTL=65
  • In cncman.bat, look for:

    set TTL=65

About modifying the script

You are absolutely free to:

  • change the TTL value
  • rewrite the logic
  • simplify it
  • complicate it
  • fork it
  • publish your own version
  • or roast mine and explain why yours is better

This script is intentionally simple so you can see exactly what it does without guessing.


How to run it

Linux

git clone https://github.com/24stefan/cncman.git
cd cncman
chmod +x ./cncman.sh
./cncman.sh

Windows

git clone https://github.com/24stefan/cncman.git

Navigate to the cncman directory and run cncman.bat as Administrator.


notes

  • Administrator/root privileges are required on both platforms
  • On Linux, the TTL change is not persistent after reboot unless you modify sysctl configuration manually
  • This script does exactly one thing and tries not to be clever about it

If it breaks on your system, that’s useful information. If it works, feel free to improve it or make fun of it.

About

CNCMAN provides two simple scripts (.sh for Linux, .bat for Windows) that change the system TTL value. The default is set to 65, a value often discussed online because it compensates for TTL decrements introduced by routing, tethering, or intermediate hops.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages