[Linux Mint] MAC randomizer

Hi

I need to randomize my MAC (preferably on all interfaces, that can be visible from LAN) each new connection. But if it is not possible, it will be good to randomize them each reboot.

Also I need to PERMANENTLY fix TTL to 65 to bypass mobile hotspot block.

Can anybody advise something?

Tried some guides (most with software macchanger) but them seem to work, but I want to automate it, not execute manually

put this in /usr/lib/NetworkManager/conf.d/30-nm-privacy.conf, reboot

[connection-mac-randomization]
ethernet.cloned-mac-address=random
wifi.cloned-mac-address=random

this is not the only way that carriers can detect tethering:

  • mtu detection
  • dun apn usage
  • deep packet inspection
4 Likes

I have Mint 22.1, Cinnamon.

Just use sudo nano in it?

Any way to change it for ethernet and Bluetooth too?

Any way to bypass it? MTU in can be changed as I know. At least on android.

Dun? Never heard about it.

DPI should not be a problem as I use Proton VPN wich work normally.