Hi I just installed Umbrel on a Mac Pro 3,1 last night and want to share what I do to make this thing secure. I’ll be posting more in this tread as I run across other configurations that will make sense to do in instances.
First. I change umbrel password as well as root since by default both passwords are umbrel
passwd umbrel
sudo passwd root
Then I update apt and do any upgrades, but I change to root for the next few things:
sudo -i
apt update
apt upgrade
Then I install net-tools so I can look at the networking and enhance networking later:
apt install net-tools
Now I go install UFW to add a firewall that will control networking
apt install ufw
authorize umbrel GUI and allow ports 80 and 443 requests. Later, will switch Umbrel docker instance to using a certificate
ufw allow 80
ufw allow 443
ufw deny 7777
ufw deny 13962
ufw deny 14178
sudo ufw deny from 141.94.45.159 to any
sudo ufw deny from 23.128.248.0/24 to any
sudo ufw deny from 91.123.158.251 to any
now I regenerate my SSH keys since they are the same as everyone’s
cd /etc/ssh
rm *_key
rm *_key.pub
ssh-keygen -A
then I customize my root login so I have the normal alias of ll and colorize my root login text
cd /root
nano .bashrc
uncomment the fallowing with changing the ll alias to the normal affair:
epxort LS_OPIONS='--color=auto'
eval "$(dircolors)"
alias ls=' ls $LS_OPTIONS'
alias ll=' ls $LS_OPTIONS -al'
now that is the start.
the next post on this thread I will post how to generate an SSL and make Umbrel Docker instance use it.
But first, I will have to find where all of the files are at