Pin hole ports:
>sudo ufw allow 8080/tcp # single port >sudo ufw allow 8080,8081/tcp # multiple ports
See current firewall status:
>sudo ufw status
Delete rule:
>sudo ufw status numbered >sudo ufw delete <rule number>
Enable/disable completely
>sudo ufw disable >sudo ufw enable