Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Add firewall - ufw, open only two ports.
apt-get install -y ufw
ufw default deny
ufw logging on
ufw allow 22
ufw allow 80
ufw allow 443
ufw limit ssh/tcp
yes | ufw enable
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question