Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
If you go to System Preferences and click on Sharing, you can go to "Firewall" tab to do this.

Click on "New...", select whatever name you want (you'll probably want to select "other" and choose a new name), and then enter in the ports you need. Separate the ports by commas and dashes.
E.g. if you want ports 57, 98, 99, 100, 101, 102, and 163, then you would enter into the field "57, 98-102, 163"

BUT IF YOU'RE USING A ROUTER, then you'll need to enable to ports on the actual router as well.

Exactly how to do that will depend on the brand of your router, but you can most likely access your router's settings by opening up a web browser and going to the url "192.168.1.1"

There's no www. and there's no .com in it... it's an ip address.
 
If you go to System Preferences and click on Sharing, you can go to "Firewall" tab to do this.

Click on "New...", select whatever name you want (you'll probably want to select "other" and choose a new name), and then enter in the ports you need. Separate the ports by commas and dashes.
E.g. if you want ports 57, 98, 99, 100, 101, 102, and 163, then you would enter into the field "57, 98-102, 163"

BUT IF YOU'RE USING A ROUTER, then you'll need to enable to ports on the actual router as well.

Exactly how to do that will depend on the brand of your router, but you can most likely access your router's settings by opening up a web browser and going to the url "192.168.1.1"

There's no www. and there's no .com in it... it's an ip address.
Didn't they change the way these preferences work in Leopard? I think it's laid out differently and I'm not even sure there is a Sharing pane or Firewall tab anymore (I don't have Leopard in front of me so I can't confirm that).

When you need to change these settings on the router I believe it's often called "port forwarding" or "port mapping", so you might look for that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.