Skip to main content

Posts

Showing posts from September 13, 2020

What is UFW? How to set-up UFW?

What is UFW? UFW, or Uncomplicated Firewall, is a front-end to iptables. Its main goal is to make managing your firewall drop-dead simple and to provide an easy-to-use interface. It’s well-supported and popular in the Linux community—even installed by default in a lot of distros. As such, it’s a great way to get started securing your sever. Before We Get Started First, obviously, you want to make sure UFW is installed. It should be installed by default in Ubuntu, but if for some reason it’s not, you can install the package using aptitude or apt-get using the following commands: sudo aptitude install ufw or sudo apt-get install ufw Check the Status You can check the status of UFW by typing:sudo ufw status Right now, it will probably tell you it is inactive. Whenever ufw is active, you’ll get a listing of the current rules that looks similar to this: Status: active To Action From -- ------ ---- 22 ALLOW