Article from Apple: http://support.apple.com/kb/TS1629

Mac OSX firewall: http://support.apple.com/kb/ht1810