On Leopard opening a port was easy. Go into the sharing preferences and add the port or range of ports that you want open. With Snow Leopard Apple changed it to this weird "block application access" method that my old Unix-y brain is having a hard time understanding.
How do I tell the firewall that I just want to open a port? Is this now only accomplished via the shell?
Apple tried to make it simple for people who have no need/desire to open a port. They just want to use iChat (or whatever). If you have a program that needs to use a port, it requests it, and the Application Firewall asks you if you want to allow it. Then, the port is opened as needed.
If you want to create an open port, not tied to an application, then the previous poster gave you one method.
I wish I could figure out how, in Sys Prefs > Security > Firewall, one could add an entry tied to a particular application for things like smtpd, rather than have to use ipfw to open port 25 for unestablished inbound traffic.
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
How to open a port?
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.