How do the different types of firewalls work?

. What is IP spoofing?  

 What is a NAT firewall, and how does it work?

. What is a security hole, and how do you fix it?