2

I am more of linux and windows user, now forced to use mac as testing device, for testing a webrtc app, I want to block all the UDP ports in my macbook, how do I achieve it from commandline( or some tools)

1

This is a good tutorial for beginning with "pf", because system preferences do not allow you to enter manual rules.

http://krypted.com/mac-security/a-cheat-sheet-for-using-pf-in-os-x-lion-and-up/

I used to use the very good firewall fronted "HandsOff!" by metakine (but they sold it), where you can do what you like, but honestly I do not know whether there is a Yosemite update for that.

Update: https://www.oneperiodic.com/products/handsoff/

  • Garex, has the right approach. Using a custom pf conf file allows for pass/block of packets. I would keep in mind that mDNSresponder uses the UDP protocol to interact with WIFI and check if its active. Could cause interferences if you block all UDP outbound. – tron_jones Mar 10 '15 at 12:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .