1.4 KiB
1.4 KiB
Certainly! Let's explore how to manage firewalls in Linux Mint using the terminal. There are a couple of options available:
1. UFW (Uncomplicated Firewall):
- UFW is a straightforward and reliable firewall interface with both command-line and graphical tools.
- To install UFW, open the terminal and run:
sudo apt install ufw - Verify if UFW is active with:
sudo systemctl status ufw - To allow specific ports (e.g., OpenSSH), use:
sudo ufw allow 22/tcp - To disable a port, run:
sudo ufw deny 22/tcp
- Gufw (GUI for UFW):
- Gufw provides a graphical interface for managing UFW.
- Install it with:
sudo apt install gufw - Open it from the menu: "Firewall Configuration."
Remember, firewalls protect your network by filtering traffic based on predefined rules. Choose the method that suits your preference! 😊🔥
Source: Conversation with Copilot, 7/12/2024