# [Linux Mint] MAC randomizer

**URL:** https://discuss.privacyguides.net/t/linux-mint-mac-randomizer/24561
**Category:** Questions
**Created:** 2025-02-01T00:02:28Z
**Posts:** 4

## Post 1 by @tabolo090 — 2025-02-01T00:02:28Z

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

---

## Post 2 by @anon63378630 — 2025-02-01T01:00:51Z

> [@tabolo090](#):
>
> randomize my MAC

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
```

> [@tabolo090](#):
>
> bypass mobile hotspot block.

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

- mtu detection
- dun apn usage
- deep packet inspection

---

## Post 3 by @tabolo090 — 2025-02-01T14:44:17Z

> [@anon63378630](#):
>
> put this in /usr/lib/NetworkManager/conf.d/30-nm-privacy.conf, reboot

I have Mint 22.1, Cinnamon.

Just use `sudo nano` in it?

Any way to change it for ethernet and Bluetooth too?

> [@anon63378630](#):
>
> - mtu detection
> - dun apn usage

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.

---

## Post 4 by @tabolo090 — 2025-02-19T20:49:38Z

If I add config to this file `/etc/NetworkManager/conf.d/random-mac.conf`

```
[device]
wifi.scan-rand-mac-address=yes
ethernet.cloned-mac-address=random
wifi.cloned-mac-address=random
bt.cloned-mac-address=random
```

Will it randomize all MACs? Or I made a mistake? Please correct me if I did something wrong.

Linux Mint 22
