Changes between Version 13 and Version 14 of Csle2022/Agenda/FW


Ignore:
Timestamp:
Nov 24, 2022, 9:33:57 AM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/FW

    v13 v14  
    175175sudo invoke-rc.d iptables-persistent save
    176176}}}
     177
     178== UFW Lab ==
     179=== Introduction ===
     180''' UFW (uncomplicated firewall) ''' is a firewall configuration tool that runs on top of iptables, included by default within Ubuntu distributions. It provides a streamlined interface for configuring common firewall use cases via the command line.
     181
     182'''Verify UFW Status'''
     183
     184To check if ufw is enabled, run:
     185{{{
     186sudo ufw status
     187}}}
     188
     189''' Enable UFW '''
     190
     191If you got a '''Status: inactive''' message when running ufw status, it means the firewall is not yet enabled on the system. You’ll need to run a command to enable it.
     192{{{
     193sudo ufw enable
     194}}}
     195You’ll see output like this:
     196{{{
     197Output
     198Firewall is active and enabled on system startup
     199}}}
     200
     201'''Disable UFW'''
     202
     203If for some reason you need to disable UFW, you can do so with the following command
     204{{{
     205sudo ufw disable
     206}}}
     207Be aware that this command will fully disable the firewall service on your system.