Skip to main content

Posts

Showing posts from July, 2023

My Ubuntu UFW Firewall crash course

A firewall controls incoming and outgoing traffic. On Ubuntu you can use UFW. To enable: sudo ufw enable To allow SSH: sudo ufw allow ssh To allow specific port: sudo ufw allow 8080 To check status: sudo ufw status To deny a port: sudo ufw deny 23 Always allow SSH before enabling firewall on remote server or you may lock yourself out. Remember, security is not optional. Configure your firewall. Happy firewalling! Disclaimer: If you follow the information here, there is no warranty , I am not liable if it deletes your data, gets you hacked, burns your house down or anything else. If you follow the information contained here you do so entirely at your own risk . My views and opinions are my own and not necessarily represent the views of my employer. © Raheel Hameed and www.raheelhameed.com, 2017. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictly prohibited. Excerpts...