Block/Ban an IP address

I want to block/ban an IP address.
What is the simplest way to do this?

G4 Mirror - Dual 1.25, Mac OS X (10.4.5)

Posted on Jul 3, 2006 4:09 PM

Reply
4 replies

Jul 3, 2006 4:30 PM in response to ltaroli

well mac os x uses ipfw, the same thing *BSD uses, so if you just get the terminal commands for *BSS then they will work, o block an ip it would be like this

sudo ipfw add deny from xxx.xxx.xxx.xxx to any

type that into a terminal and it will block access to the ip, but i think your settings will get lost at shutdown

you also might want to search versiontracker, Flying Buttress seems to be an application that allows for easy edition of ipfw, but i have never used it (though it seems to have a good rating on versiontracker)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Block/Ban an IP address

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.