Changes between Version 18 and Version 19 of Csle2022/Agenda/FW


Ignore:
Timestamp:
Nov 24, 2022, 5:16:43 PM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/FW

    v18 v19  
    314314
    315315'''Enable Application Profile'''
     316
     317To enable a UFW application profile, run ufw allow followed by the name of the application profile you want to enable, which you can obtain with a sudo ufw app list command. In the following example, we’re enabling the OpenSSH profile, which will allow all incoming SSH connections on the default SSH port.
     318{{{
     319sudo ufw allow “OpenSSH”
     320}}}
     321{{{
     322Output
     323Rule added
     324Rule added (v6)
     325}}}
     326Remember to quote profile names that consist of multiple words, such as '''''Nginx HTTPS.'''''
     327
     328'''Disable Application Profile'''
     329
     330To disable an application profile that you had previously set up within UFW, you’ll need to remove its corresponding rule. For example, consider the following output from '''sudo ufw status:'''
     331{{{
     332sudo ufw status
     333}}}
     334
     335{{{
     336Output
     337Status: active
     338
     339To                         Action      From
     340--                         ------      ----
     341OpenSSH                    ALLOW       Anywhere                               
     342Nginx Full                 ALLOW       Anywhere                 
     343OpenSSH (v6)               ALLOW       Anywhere (v6)                   
     344Nginx Full (v6)            ALLOW       Anywhere (v6)       
     345}}}