KB Knowledge Base
Settings
Designed and coded by Kevin Wilson 2025

Article Details

Review the content, attachments, and feedback.

Ubuntu UFW commands

Kevin
Aug 26, 2025
26 views
kb378234
No rating yet

Common ufw Commands

sudo ufw deny from 15.15.15.51

sudo ufw allow ssh

sudo ufw allow from 15.15.15.0/24 to any port 22

sudo ufw reload

sudo ufw allow 80

sudo ufw deny out 25

sudo ufw status

sudo ufw disable

sudo ufw enable

sudo ufw delete deny 80/tcp - delete an existing rule

sudo ufw allow  - allow by service

Rate & Comment

Latest Comments

No comments yet.