How do I deny connections with an IP range?

Discussion in 'macOS' started by mariusmbp, Mar 18, 2016.

  1. mariusmbp macrumors newbie

    Mar 18, 2016
    Hello guys

    I would like to know how do I deny incoming and outgoing connections with an IP range? (for example -

    I want to perform this task directly into the OS without using any third party software like Little Snitch or DNS or router filtering.
  2. DeltaMac macrumors G3


    Jul 30, 2003
    Why would you not use a good tool like Little Snitch?

    What do you do if an app that you work with decides to use an IP from a different range, or a port that you don't normally use suddenly opens? (Little Snitch will easily answer that question for you :D )

    Within the OS X system, it will help if you could learn how to use pf.
    Here's a short intro article about that.

Share This Page