You could use Windows 7 Firewall Control:
http://www.sphinx-soft.com/Vista/index.html

Read:
How to Configure Windows Firewall in Windows 7
http://www.techtalkz.com/windows-7/515977-how-configure-windows-firewall-windows-7-a.html