Home > Network Management > ufw-app-list

ufw-app-list: View UFW Application Profiles

ufw-app-list is a command that displays a list of pre-defined application profiles for UFW (Uncomplicated Firewall). These profiles group the necessary port and protocol rules for specific services (e.g., SSH, HTTP), simplifying firewall management. This command allows you to check which application profiles are available on your system.

Overview

ufw-app-list lists the names of application profiles available for use with the UFW firewall. These profiles are typically defined in the /etc/ufw/applications.d/ directory and help in easily applying the firewall rules required for specific applications.

Key Features

  • Outputs a list of available UFW application profiles
  • Checks pre-defined groups for firewall rule configuration
  • Supports service-specific firewall management with simple commands

Main Options

The ufw-app-list command itself does not offer special options. Simply running it will output a list of all application profiles defined on the current system.

Basic Usage

Generated command:

Try combining the commands.

Description:

`ufw-app-list` Executes the command.

Combine the above options to virtually execute commands with AI.

Usage Examples

Basic usage examples for the ufw-app-list command.

List all available application profiles

ufw-app-list

Prints the names of all UFW application profiles defined on the current system.

Installation

ufw-app-list is part of the UFW (Uncomplicated Firewall) package. It is installed by default on most Debian/Ubuntu-based systems, but if not, you can install it using the following commands.

Install UFW on Debian/Ubuntu

sudo apt update && sudo apt install ufw

Installs the UFW package.

Install UFW on CentOS/RHEL (EPEL required)

sudo yum install epel-release
sudo yum install ufw

UFW is not provided by default on CentOS/RHEL and can be installed via the EPEL repository.

Tips & Notes

Useful tips and notes when using ufw-app-list.

Check Profile Details

To check the detailed information (ports, protocols, etc.) of a specific application profile, use the 'ufw app info <profile_name>' command.

  • Example: `ufw app info SSH`

Apply Profile

To apply a listed profile as a firewall rule, use the 'ufw allow <profile_name>' command.

  • Example: `ufw allow OpenSSH`

folder Profile Definition Files

/etc/ufw/applications.d/

Application profiles are typically defined as files with a `.profile` extension in the `/etc/ufw/applications.d/` directory. You can directly edit these files to create custom profiles or modify existing ones.


Same category commands