ufw allow port

To allow a port with the Ubuntu firewall, do this:

ufw allow 8000

To test it, do “ufw status”:

Status: active

To                         Action      From
--                         ------      ----
OpenSSH                    ALLOW       Anywhere
8000                       ALLOW       Anywhere
OpenSSH (v6)               ALLOW       Anywhere (v6)
8000 (v6)                  ALLOW       Anywhere (v6)

Leave a Reply

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