How do I block a specific port?

Posted:
in Genius Bar edited January 2014
simple question, probably . . . .





{PS: also, notice the thread wherein I ask about freeware or shareware USB recording options or methods of recording audio via USB]

Comments

  • Reply 1 of 3
    You could block the port with an ipfw rule from a terminal window.
  • Reply 2 of 3
    alcimedesalcimedes Posts: 5,486member
    download brickhouse from versiontracker.com.



    gives you real control of your firewall options.
  • Reply 3 of 3
    dobbydobby Posts: 797member
    an couple of examples.



    ipfw add 0 deny udp from any to any 4321

    ipfw add 0 deny tcp from any to any 1234



    man ipfw for more info.



    Dobby
Sign In or Register to comment.