Firewall configuration (UFW)
UFW Firewall
Installation
apt install ufw
Basic configuration
# Default rules
ufw default deny incoming
ufw default allow outgoing
# Allow SSH
ufw allow ssh
# Or specific port
ufw allow 2222/tcp
# Web traffic
ufw allow 80/tcp
ufw allow 443/tcp
# Enable
ufw enable
Management
# Check status
ufw status verbose
# Remove rule
ufw delete allow 80/tcp
# Disable
ufw disable
Need help?
We're here for you! Running into issues or have questions? Our support team is happy to help you personally. Drop us a message through the ticket system - we usually respond within a few hours and love helping you find the best solution.
Was dit artikel nuttig?
0 van 0 vonden dit nuttig