Came here in search of an answer to a problem, but didn't find it? Visit the forum @ LinuxBSDos.com, pick a category and ask a question.

How to replace Ufw with FirewallD on Linux Deepin 2013

Ufw is the default firewall app on Linux Deepin 2013, the latest edition of Linux Deepin, a desktop distribution based on Ubuntu Desktop. This article shows how to replace it with FirewallD, a dynamic firewall application from the Fedora Linux.

Though Ufw has a command-line client that is easier to use, Firewalld brings a lot more features to the table, like the concept of network zones, which define trust levels for network connections or interfaces.

FirewallD comes with a panel applet aptly named firewall-applet, a graphical configuration interface called firewall-config, and a command line client called firewall-cmd. To install it from the command line, type sudo apt-get install firewall-applet. That will install everything you need to run the application.

If you’d rather install it from a graphical interface, launch the Deepin Software Center by clicking on its icon on the dock. Then search for “firewall-applet.”
Search Firewalld Linux Deepin 2013

Click to install it.
Install Firewalld Linux Deepin 2013

After installation, you’ll want to either stop or uninstall ufw. To stop the daemon, type sudo service ufw stop. To uninstall the application, type sudo apt-get remove ufw.

Finally, you will want to start the Firewalld applet and make sure that it will also start on boot. To start it, search for it from the app launcher. It should appear on the dock. This screen shot shows the entries in the applets context menu.
Linux Deepin 2013 firewall-applet

To make sure that it starts on each boot up, launch the System Settings by clicking on its icon on the dock. When it opens, click on the Default Applications module, then click on the Autostart tab. To add an entry for the applet, click on the New button. The command to add in the “Exec” field is firewall-applet. OK.
DeepinFirewallAuto

The entry for the applet should look like the one shown in this screen shot. That’s all you need to replace Ufw with Firewalld. More information about firewalld is available here.
DeepinFirewallAuto1

This is a screen shot of Firewall-config’s interface.
Linux Deepin 2013 firewall-config

Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.

Leave a Comment