How to replace Ufw with Firewalld in Linux Mint 15

Firewalld and Ufw, the Uncomplicated FireWall, are two firewall management applications installed in some of the most popular Linux distributions. Ufw is the default firewall application installed in distributions based on Debian and Ubuntu, while Firewalld is the default in Fedora, where it replaced the old firewall application when Fedora 18 was released. It is a project of the Fedora development team.

Though Ufw has a command-line client that is easier to use, Firewalld brings a lot more features to the table. For example, Firewalld introduces the concept of network zones, which define trust levels for network connections or interfaces. All you need to know about Firewalld is available here.

Ufw is made up of two components – ufw (the daemon), and the graphical management interface, while Firewalld has three components – firewalld (the daemon), firewall-config (the graphical management interface), and a desktop applet called firewall-applet. Gufw is the most popular of three graphical clients for managing Ufw, while firewall-config is the sole graphical management interface for Firewalld.

This short tutorial shows how to replace Ufw with Firewalld in Linux Mint 15, the latest stable edition of the popular desktop distribution.

In Linux Mint 15, as on other Linux distributions, you can install it from the command-line or from the Software Center, the distribution’s graphical package manager.

To install all three components of Firewalld from the command-line, open a shell terminal and type sudo apt-get install firewall-applet. From the Software Center, search for “firewall-applet” and install it. Once installed, you can confirm that the daemon is running by typing sudo service firewalld status. You may then launch firewall-applet from the menu. Its icon should appear in the System Tray. Right-click on it to see the entries in its context menu.
Firewalld install Linux Mint 15 firewall-applet

This is the main window of firewall-config. It comes with several zones pre-configured, and the default zone is Public. Might be better to change it to Home, as its settings are designed for use in a more trusted environment.
Firewalld install Linux Mint 15 firewall-config

To change the default zone, select Change Default Zone from the Options menu.
Firewalld install Linux Mint 15 firewall zones

At this time, after logging out or rebooting the computer, you will have to restart the applet. To make it auto-start on subsequent logins, open the graphical management control center of the edition of Linux Mint you are running and click on the Startup Applications module (that’s what it is called in the Cinnamon edition). Click on the Add button.
Linux Mint 15 auto-start applications

Fill in the fields as shown in this image. You can modify the Comment field, but the Command filed must be firewall-applet, because that is the command that starts the applet. Click Add.
Linux Mint 15 auto-start firewall-applet

There should now be an entry for the applet in the list of startup applications. You may close the window. Now that Firewalld is installed and running, you can stop the daemon for Ufw by typing sudo service ufw stop. UPDATE: It’s actually better to uninstall ufw by typing sudo apt-get remove ufw. That will not only remove the daemon, but also remove the Firewall module from System Settings.
Linux Mint 15 auto-start firewall-applet

Related Posts

How to install Cairo-Dock on Simply Linux 5 Simply Linux is an Xfce-based distro from the same Russian team that publishes ALT Linux. After the customizing simply linux 5 post, the next obvious ...
Install Mageia 1 on an encrypted LVM file system Mageia is a new Linux distribution formed by former employees and contributors of Mandriva, a Linux software provider and publisher of a line of Linux...
Developers: Give us sane and sensible default system and application settings I often wonder why Linux desktops are the way they are. You know, why stuff that's supposed to work out of the box, don't and why some of the better f...
Now that Kaptan has been ported, YALI’s waiting Borrowing code or programs written by others is an accepted practice in the Free Software community. It is perfectly legal, being one of the core prin...
GRUB-Install errors while attempting to dual-boot Windows 10 and Linux distributions Since Windows 10 was released, I've made several attempts to set up dual-boot systems between it and a few Linux distributions (Fedora 22, Ubuntu 15.0...
Got a PRISM and Boundless Informant problem? Whisper and Tor can help PRISM and Boundless Informant. Don't you just love names like that. They have a nice ring to them. But do not be fooled. Those are bad for your privac...

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


  1. Works perfect on a fresh Linux Mint 16 installation.
    I solved the problem with the Firewalld applet by using the adviced Nvidia driver instead of the display server one on my Dell.
    Now the applets starts correctly.

  2. It seems complicated but I’ll try to replace my firewall.

  3. Will this work in Ubuntu, too?

    • The package is available in Ubuntu, but the applet fails to start. The error has something to do with dbus or something like that. I’m still trying to figure out why, but it could be something specific to my test installation.

      Try it on your system and see if it works. Note that it also works on Linux Deepin, which, like Mint, is also based on Ubuntu. See How to customize Linux Deepin 12.12.

Leave a Comment

Your email address will not be published. Required fields are marked *