Configuring the Firewall to Block Incoming Connections

Kmitses
New Contributor

Hey,

I was looking to see if there was a from the terminal to enable the option to block all inbound connections. I know ipfw can be used but I assume I will have to write a dozen or so rules to achieve the same task. Any feedback is welcome!

2 REPLIES 2

ctangora
Contributor III

IPFW wont' work in 10.9, as they moved to PF.

What we have done is remove all Apple anchors in PF and load our own settings (but we needed really tight controls).

If you are looking to work with IPFW you can flush the rules and load your own.

What OS are you trying to do this on?

-c

Kmitses
New Contributor

Right now I am focusing on 10.8, but I would like to have a solution that works with 10.9 as well.