Partner links

How to replace Ufw with Firewalld in Linux Mint 15

Linux Mint 15 auto-start firewall-applet

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

Share:

Facebook
Twitter
Pinterest
LinkedIn

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
4 Comments
Inline Feedbacks
View all comments
Duveltje
Duveltje
10 years ago

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 X.org display server one on my Dell.
Now the applets starts correctly.

removalslondon24
10 years ago

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

David
David
10 years ago

Will this work in Ubuntu, too?

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
4
0
Hya, what do you think? Please comment.x
()
x