Firewall Setup & Rules
This instruction guides you how to setup up firewall in Debian and Ubuntu using Anon ORPort 9001 and SSH port 22 as an example.
This instruction guides you how to setup up firewall in Debian and Ubuntu using Anon ORPort 9001 and SSH port 22 as an example.
Update your system and install the package and dependencies using these commands
sudo apt-get update -y
sudo apt-get install ufw -ysudo ufw allow 22
sudo ufw allow 9001
sudo ufw enableWhen prompted with the message 'Command may disrupt existing ssh connections', type 'y' and hit ENTER.