anonymize MAC: assume that the NetVM already exists

This commit is contained in:
3hhh 2022-11-19 10:10:40 +01:00
parent 839d8c4314
commit 0d803f7a78
No known key found for this signature in database
GPG Key ID: EB03A691DB2F0833

View File

@ -21,7 +21,7 @@ Save the change and reconnect the connection (click on Network Manager tray icon
## Randomize all Ethernet and Wi-Fi connections ## Randomize all Ethernet and Wi-Fi connections
These steps should be done inside a template to be used to create a NetVM as it relies on creating a config file that would otherwise be deleted after a reboot due to the nature of AppVMs. These steps should be done inside the template of the NetVM to change as it relies on creating a config file that would otherwise be deleted after a reboot due to the nature of AppVMs.
Write the settings to a new file in the `/etc/NetworkManager/conf.d/` directory, such as `50-macrandomize.conf`. Write the settings to a new file in the `/etc/NetworkManager/conf.d/` directory, such as `50-macrandomize.conf`.
The following example enables Wi-Fi and Ethernet MAC address randomization while scanning (not connected), and uses a randomly generated but persistent MAC address for each individual Wi-Fi and Ethernet connection profile. The following example enables Wi-Fi and Ethernet MAC address randomization while scanning (not connected), and uses a randomly generated but persistent MAC address for each individual Wi-Fi and Ethernet connection profile.
@ -47,10 +47,6 @@ Also make sure that you have `addr-gen-mode=stable-privacy` in the `[ipv6]` sect
To see all the available configuration options, refer to the man page: `man nm-settings` To see all the available configuration options, refer to the man page: `man nm-settings`
Next, create a new NetVM using the edited template and assign network devices to it.
Finally, shutdown all VMs and change the settings of sys-firewall, etc. to use the new NetVM.
You can check the MAC address currently in use by looking at the status pages of your router device(s), or inside the NetVM with the command `sudo ip link show`. You can check the MAC address currently in use by looking at the status pages of your router device(s), or inside the NetVM with the command `sudo ip link show`.
## Anonymize your hostname ## Anonymize your hostname