Block IP ranges

Discussion in 'macOS' started by DonkeyTron, Jun 21, 2006.

  1. DonkeyTron macrumors member

    Joined:
    Feb 1, 2006
    #1
    Is there anyway I can block IP ranges. Say I only want a certain IP, for example I only want 172.16.1.38 to come through my computer. Is there a way to block all the IP's from 0.0.0.0 to 172.16.1.37 and 172.16.1.38 to 255.255.255.255?

    Any possible way with just the built in firewall or any other firewalls such as Flying Buttress? Or is it possible with terminal?

    Please help

    ~Thanx
     
  2. superbovine macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #2
    yes, but use flying buttress. however, if you can configure a cisco router or such, it shouldn't be that much different than an ACL in terminal. the guide to do it without flying is below.
    http://www.bsdguides.org/guides/freebsd/security/ipfw_explained.php

    brickhouse aka flying buttress will do it too with a gui.
    http://personalpages.tds.net/~brian_hill/brickhouse.html

    btw don't block 127.0.0.1
     
  3. prostuff1 macrumors 65816

    prostuff1

    Joined:
    Jul 29, 2005
    Location:
    Don't step into the kawoosh...
    #3
    Couldn't you just specify in system preferences>networking to use DHCP with manual address. That is what i do for my computers at home to make sure i get the numbers i want for each computer.
     
  4. superbovine macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #4
    now that i read your response. my answer was incorrect. you are right, you just have to assign yourself a static ip address or setup your dhcp server to assign that specific ip address to your mac address.
     

Share This Page