Add security packages/config

This commit is contained in:
ItsDrike 2021-01-23 20:31:00 +01:00
parent 83ed02d18a
commit 7544525472
No known key found for this signature in database
GPG key ID: 252D306F545351FC
4 changed files with 71 additions and 26 deletions

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