mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 12:10:42 +00:00
Add security packages/config
This commit is contained in:
parent
83ed02d18a
commit
7544525472
4 changed files with 71 additions and 26 deletions
9
root/etc/NetworkManager/conf.d/wifi_rand_mac.conf
Normal file
9
root/etc/NetworkManager/conf.d/wifi_rand_mac.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
[device-mac-randomization]
|
||||
# "yes" is already the default for scanning
|
||||
wifi.scan-rand-mac-address=yes
|
||||
|
||||
[connection-mac-randomization]
|
||||
# Randomize MAC for every ethernet connection
|
||||
ethernet.cloned-mac-address=random
|
||||
# Generate a random MAC for each WiFi and associate the two permanently.
|
||||
wifi.cloned-mac-address=stable
|
11
root/etc/resolv.conf
Normal file
11
root/etc/resolv.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
# DNS configuration, NetworkManager tends to override this
|
||||
# but setting immutable flag to this file fixes that.
|
||||
# This can be done by running chattr +i /etc/resolv.conf
|
||||
|
||||
# You should add this manually, with the immutable flag,
|
||||
# Using it from the script will let NetworkManager override
|
||||
# these back to the local DNS resolv, rendering this irrelevant
|
||||
nameserver 1.1.1.1
|
||||
nameserver 1.0.0.1
|
||||
nameserver 192.168.0.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue