Here is an article on Microsoft's MSDN website: Connecting Through Windows Firewall