Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on an iMac, Leopard OSX, and I need to add a new port forwarding entry (TCP protocol) in the iMac itself, since I have no router/modem connected to the iMac, I have Fiber, a network cable from the iMac to the wall directly. So how can this be done in the iMac?

Thank you!

share|improve this question

migrated from Dec 12 '10 at 10:31

This question came from our site for system and network administrators.

OS X Leopard uses a "Personal Application Firewall", so you cannot use the GUI tools in System Preferences to configure port forwarding. However OS X still includes a traditional port-based firewall ipfw which can be configured from the command line. Open a Terminal window and try "sudo ipfw add fwd,25 tcp from any to 25 in". Replace,25 with the external IP/port numbers and 25 with the internal IP/port that you want

share|improve this answer

You must log in to answer this question.