As default, Raspbian loads firewalld.service on boot.

I wish to define firewall's inbound and outbound ports in order to allow services such as pigpiod, VNC, SSH and so , to be able to control each other.

When using Ubuntu Mate- it is easy to download from Software center, a firewall software to control its firewall.

While using Raspbian - I don't find a porper way to do it. Googling around led to install ufw which is very minimal in capabilities and tiresome to work that way. Plus- systemctl enable ufw did not load it after boot.

I would love to get some help with this,


  • What is the name of the package you installed on Ubuntu Mate? Commented Sep 19, 2017 at 19:41
  • 2
    Firewall is built into the kernel and interfaced with iptables, ufw is "uncomplicated firewall" and is a wrapper for iptables. Anything you can do with any firewall config tool you can do through iptables, but the syntax/usage is very archaic. What about ufw is insufficient for your purposes? there are graphical wrappers for UFW like gufw
    – crasic
    Commented Sep 19, 2017 at 22:29
  • @crasic - thanks for you answer. firstly - archaic is mostly what bothers me ( since it all typ2ing, and don't have the flexabililty to define "home" ,"public" and so ).
    – guyd
    Commented Sep 20, 2017 at 4:30
  • @MarkStosberg - something more like "firewall-config" which can be downloaded via Ubuntu's software center
    – guyd
    Commented Sep 20, 2017 at 4:31

1 Answer 1


To sum up ( thanks to @crasic and @Mark ) - installing sudo apt-get install gufw install gui for ufw which a systemctl service,

sudo apt-get install firewall-config install gui for firewalld.

thanks alot !

Not the answer you're looking for? Browse other questions tagged or ask your own question.