Ubuntu – Disable Firewall

if your working in lab or test env, you may want to disable firewall…. two simple commands;

sudo ufw disable 

sudo apt-get remove ufw 

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
ufw
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
After this operation, 838 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database … 64052 files and directories currently installed.)
Removing ufw (0.35-0ubuntu2) …
Skip stopping firewall: ufw (not enabled)
Processing triggers for man-db (2.7.5-1) …