Common Firewall (UFW) command

$sudo ufw status
$sudo ufw enable
$sudo ufw disable

How to allow any port. just write ufw allow and the port and same way you can disallow any port look at the example given below.
$ufw allow 22
$ufw diallow 22

$ss -anpst
ufw delete allow 3389

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top