Posts

Showing posts with the label firewall

Ubuntu default Firewall UFW (Uncomplicated Firewall) Command-Line

Image
  UFW - Uncomplicated Firewall The default firewall configuration tool for Ubuntu is ufw. Developed to ease iptablesfirewall configuration, ufw provides a user friendly way to create an IPv4 or IPv6 host-based firewall. By default UFW is disabled. Gufw is a GUI that is available as a frontend. Basic Syntax and Examples Default rules are fine for the average home user When you turn UFW on, it uses a default set of rules (profile) that should be fine for the average home user. That's at least the goal of the Ubuntu developers. In short, all 'incoming' is being denied, with some exceptions to make things easier for home users. Enable and Disable  Enable UFW  To turn UFW on with the default set of rules:  sudo ufw enable To check the status of UFW:  sudo ufw status verbose The output should be like this: youruser@yourcomputer:~$ sudo ufw status verbose  sudo] password for youruser:  Status: active  Logging: on (low)  Default: deny (incoming), all...