Dr-BroadBand wrote: ↑Thu May 13, 2021 7:09 pm
Your Device that you are sharing the data to, needs to have TTL (Time to Live) Set to something non-standard, like 65.
Windows CMD: netsh int ipv4 set glob defaultcurhoplimit=65
MAC OS Terminal: sudo sysctl -w net.inet.ip.ttl=65 (Temp) or net.inet.ip.ttl=65 (Permanent)
Need to be Tether via USB
Will need to repeat if you reboot your system
On Windows, setting IPv4 and IPv6 will cover both protocols.
netsh int ipv4 set global defaultcurhoplimit=65
netsh int ipv6 set global defaultcurhoplimit=65
Here are a couple of ways to make the TTL settings permanent after a restart.
Method# 1
Copy and paste the command lines below into CMD:
netsh int ipv4 set global defaultcurhoplimit=65 store=persistent
netsh int ipv6 set global defaultcurhoplimit=65 store=persistent
This method works on some Windows versions but not all, so after a restart test if the TTL is still "65".
Copy and paste the command lines below into CMD:
netsh int ipv4 show global
netsh int ipv6 show global
ping 127.0.0.1
Method# 2
Create a new file named "TTL.bat" using Notepad.exe, copy and paste the 3 command lines below, save it, then drag the file into the "Startup" folder under Start > Program Files > Startup.
netsh int ipv4 set global defaultcurhoplimit=65
netsh int ipv6 set global defaultcurhoplimit=65
Exit
On MAC, the command "sudo sysctl -w net.inet.ip.ttl=65" is not persistent, to make the TTL settings permanent after a restart, you can use the following method.
In command terminal enter the following (root required):
sudo nano /etc/sysctl.conf
Add the follow line to the top of the existing commands:
net.inet.ip.ttl=65
Then press:
Command/Ctrl + Shift + O then Enter to save
Command/Ctrl + Shift + X to exit
After a restart test if the TTL is still "65".
Copy and paste the command line below into the command terminal:
sudo sysctl -n net.inet.ip.ttl
You should a value of "65"