OS X and the Firewall
- Open up your system preferences.
- Click on Sharing
- Click on Firewall
- If the firewall is off, start the firewall by clicking Start
- Select which services you want to allow from the list. The first 7 services can only be turned on if their associated services are turned on in the Services pane
- To add a new rule, click New
- Select a service from the drop down menu next to Port:Name or select other to specify your own
- Enter the appropriate port numbers and descriptions and click Ok
- To edit a rule, select it and click Edit
- To delete a rule, select it and click Delete
- By default, all incoming services are turned OFF when you enable the firewall
- For more information, click on the ? on the Firewall pane