secure configuration of the firewall
I have installed the Firewall by following this guide: https://www.digitalocean.com/community/tutorials/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server
If I run this command (sudo ufw default deny incoming) from the guide asked this site is no longer accessible from the browser.
- Please this is a good and safe configuration?
root@myclouds:~# sudo ufw status verbose Status: active Logging: on (low) Default: allow (incoming), deny (outgoing), disabled (routed) New profiles: skip To Action From -- ------ ---- ****/tcp ALLOW IN Anywhere (port that I use for SSH) ****/tcp (v6) ALLOW IN Anywhere (v6) (port that I use for SSH)
Thank you very much!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×