How do you test firewall configurations in network security testing? Discuss the importance of verifying that firewalls are properly configured to block unauthorized access, prevent data exfiltration, and ensure that only legitimate traffic is allowed, using both automated tools and manual methods.