Question: ufw how to disable firewall?
Answer: Check a current firewall status. By default the UFW is disabled. ... 
Enable Firewall. To enable firewall execute: $ sudo ufw enable Command may disrupt existing ssh connections. ... 
Disable Firewall. UFW is quite intuitive to use.