Firewall in Tiger

Discussion in 'iMac' started by carfac, Sep 27, 2007.

  1. carfac macrumors 65816

    carfac

    Joined:
    Feb 18, 2006
    #1
    I know there is a firewall somewhere in Tiger. I know it is based on IPFW (which I use on my servers), so I can write files for it. But where is it, and how do I get it going- anyone know????
     
  2. swiftaw macrumors 603

    swiftaw

    Joined:
    Jan 31, 2005
    Location:
    Omaha, NE, USA
  3. carfac thread starter macrumors 65816

    carfac

    Joined:
    Feb 18, 2006
    #3
    Thanks- OK, I found that. That is a port blocker- not exactly I was looking for. I need something more configurable, so I can block a few specific web sites directly. in IPFW you can block an IP, or a range of IPs- I want to block a range of IPs (MySpace anyone?)

    Thanks!

    Dave
     
  4. speakerwizard macrumors 68000

    speakerwizard

    Joined:
    Aug 8, 2006
    Location:
    London
    #4
    so ya know, system prefs has its own spotlight in the top right corner of the window, if you type something in there, it will take you / show you where that setting is, for example type ip to be taken to the ip address.
     
  5. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #5
    The Preference Pane for Security component that deals with port access (it also has options for things like Stealth mode and UTP) is essentially just a front-end for the Unix ipfw, which is more or less configured just like it is in any other version of Unix.

    Start with this guide...

    http://www.oreillynet.com/pub/a/mac/2005/03/15/firewall.html?page=last

    It should walk you through whatever subtleties exist with the OS X implementation vs. ipfw in Linux or BSD. It's a bit old, but it should give you what you need (ipfw has been in OS X since long before Tiger).

    P.S. He/she made it quite clear from the beginning that what is being sought is not the kind of modifications that can be made from System Preferences. Why do you need to lecture her/him on how to find the firewall settings in System Preferences? :rolleyes:
     
  6. carfac thread starter macrumors 65816

    carfac

    Joined:
    Feb 18, 2006
    #6
    Actually, I did NOT know the Prefs Spotlight was any different. I DID spotlight on the Desktop for "IPFW" before posting, though....
     
  7. carfac thread starter macrumors 65816

    carfac

    Joined:
    Feb 18, 2006
    #7
    Perfect, exactly what I was looking for.... sudo ipfw deny all from x.x.x.x to any was what I needed run. That blocks whole IP ranges, just like on my servers!

    I have no problem with doing this in Terminal (essentially how I do it on FreeBSD), but I was just thinking Tiger might have an easier/better/GUI way to do it. Thank you!
     
  8. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #8

Share This Page