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

Linux Mint 15 MATE and Cinnamon screen shots The latest edition of Linux Mint was released late yesterday. Code-named Olivia, Linux Mint 15 brings the latest editions of the MATE and Cinnamon des...
Dual-boot Windows 8 and Linux Mint 17 on a PC with 2 disks and UEFI firmware This tutorial shows how to dual-boot Linux Mint 17 and Windows 8 on a computer with two hard drives and UEFI firmware. For a guide on how to perform t...
Network Attached Storage (NAS) distributions With so many (partly free) Cloud storage services to choose from, people seem to have forgotten that storing data locally is the best way to deal with...
How to customize Linux Mint 14 Cinnamon The latest version of Cinnamon desktop that shipped with Linux Mint 14 Cinnamon offers users a stable and fun-to-use desktop environment built on mode...
Mandriva Linux 2009 Titbits Mandriva Linux 2009 was recently released to the public. Here we provide some titbits from Mandriva One, one of the free editions of Mandriva Linux 20...
How to build your own phone company with WebRTC and Node.js I'm reposting this article because it's very cool and anybody can try it and probably succeed on their first attempt. the title of the original ar...

We Recommend These Vendors

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).


  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 *