How to Configure UFW & GUFW Firewall on AcreetionOS Linux
Official AcreetionOS Documentation & Step-by-Step Tutorial
1. Security & Firewall Overview
AcreetionOS puts user privacy and security first. By default, incoming connections can be restricted with UFW (Uncomplicated Firewall) while allowing standard outgoing web browsing and downloads.
2. Enabling UFW via Command Line
# Install UFW if not already present
sudo pacman -S ufw
# Set secure defaults: deny incoming, allow outgoing
sudo ufw default deny incoming
sudo ufw default allow outgoing
# Enable the firewall service on boot
sudo systemctl enable --now ufw.service
sudo ufw enable
3. Allowing Specific Services & Ports
# Allow SSH (Port 22)
sudo ufw allow ssh
# Allow Local Web Server (HTTP/HTTPS)
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
# Allow KDE Connect / Phone Bridge
sudo ufw allow 1714:1764/udp
sudo ufw allow 1714:1764/tcp
# Allow Syncthing
sudo ufw allow 22000/tcp
4. Graphical Firewall (GUFW)
If you prefer a visual interface, launch Firewall Configuration (GUFW) from the system menu. You can switch between Home, Office, and Public profiles with a single click.
5. Checking Firewall Status
sudo ufw status verbose