Improve error handling
Enable and disable the firewall