I need to change the default TTL of TCP/IP packets sent from my Ubuntu computer. I found the solution for Windows:
To make reg-file:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\Tcpip\Parameters] "DefaultTTL"=dword:00000081
To execute this commands in console:
netsh int ipv4 set glob defaultcurhoplimit=129 netsh int ipv6 set glob defaultcurhoplimit=129
The question is how should I translate this solution for Ubuntu?