I cant seem to find how to open a specific port in the ML firewall? I know you can give applications permisiion, but thats no good to me. Is there a way I can specify a specific port?
There are two firewalls. The application firewall, and network layer firewall. The network firewall can be interacted with ipfw like this:
sudo ipfw list sudo ipfw add [rule number] allow tcp from any to any dst-port [port]
You can interact with the application level firewall like this:
- Open System Preferences.
- Click the Security or Security & Privacy icon.
- Select the Firewall tab.
- Click the lock icon in the preference pane, then enter an administrator name and password.
- Click the Firewall Options button
- Click the Add Application (+) button. Select the app you want to allow incoming connection privileges for.
- Click Add.
- Click OK.