This wikiHow teaches you how to turn off the firewall in Ubuntu using the “ufw” command.

Steps

  1. 1
    Press Ctrl+Alt+T to open a terminal window. If you’re signed into the system remotely and are already at a command line, just skip to the next step.
  2. 2
    Type sudo ufw disable and press Enter. You will be prompted to enter the root password.
  3. 3
    Enter the root password and press Enter. The firewall is now disabled.

About This Article

Nicole Levine, MFA
Written by:
Tech Specialist
This article was written by Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 3,496 times.
How helpful is this?
Co-authors: 2
Updated: October 21, 2021
Views: 3,496
Article SummaryX

1. Press Ctrl+Alt+T.
2. Type sudo ufw disable and press Enter.
3. Enter the root password and press Enter.

Did this summary help you?