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 -anpstufw delete allow 3389