This page provides steps to make your Linux Mint/Ubuntu/Debian based distros
more anonymous on the Internet. This should work with most distros running systemd.
Use at your own risk. There is no warranty expressed or implied.
Steps to randomize your network
[Match]
MACAddress=00:00:00:00:00:00
[Link]
MACAddressPolicy=random
NamePolicy=database kernel onboard slot path
Steps to randomize your host name using a word from the dictionary file and a number.
#!/bin/bash
# Set this to a valid dictionary installed
FILE=/usr/share/dict/words
# Get current hostname
OLDHOST=$(hostname)
# get random word from dictionary if exists or just 8 random characters
if [ -f $FILE ]; then
WORD=$(sort -R $FILE | head -1 | tr -d "'" )
else
WORD=$(date +%s | sha256sum | base64 | head -c 8)
fi
# upper case the word
WORD="${WORD^^}"
# get a number based on current seconds 00-59
NUM=$(date +%S)
# combine the word and number to get the new hostname
NEWHOST="$WORD$NUM"
# change hostname
echo $NEWHOST > /etc/hostname
hostname $NEWHOST
[Unit]
Description=Host Changer
Before=network.service
[Service]
ExecStart=/usr/bin/hostchanger.sh
Type=oneshot
[Install]
WantedBy=multi-user.target
Set your DNS servers to a random public DNS server.
dns=none
#use round robin dns server
options rotate
#opendns
nameserver 208.67.222.222
nameserver 208.67.220.220
#cloudfare
nameserver 1.1.1.1
nameserver 1.0.0.1
#Quad9
nameserver 9.9.9.9
nameserver 149.112.112.112
#Verisign
nameserver 64.6.64.6
nameserver 64.6.65.6
#Cleanbrowsing
nameserver 185.228.168.9
nameserver 185.228.169.9
#Alternate
nameserver 198.101.242.72
nameserver 23.253.163.53
#AdGuard
nameserver 176.103.130.130
nameserver 176.103.130.131
Use the Firefox web browser and DuckDuckGo search engine
Install the following Firefox browser add-ons
Various privacy tools. Find private, secure VPN and EMAIL providers
Client side encrypted cloud storage providers