Denial Of Access Solutions

Discussion in 'General Discussion' started by CarpeNoctem115, Jul 29, 2005.

  1. Hello

    Here is my problem. I'm attempting to find a way to block out all outside computers from getting into a wireless network. The routers are obviously Linksys but the laptops are iBooks. The problem is that it is for a school so there are around 100 - 200 laptops that need to be blocked, and they don't like or handle WAP. So I'm looking for a way to get the router to only allow those specific laptops, I'm open to any solution that you can give.

  2. dotinfo

    dotinfo Network Guru Member

    I use ip tables to only allow ceratin computers on the network. They are basically just mac filters. If you have DDWRT or Alchemy or Talisman on your linksys you can log into the web interface, go to Diagnostics->Run and paste your iptables in there and press save firewall. This will save your settings for all reboots. anything you repaste in there will be over written. Example of what I have is below.

    iptables -N check_mac 
    iptables -F check_mac 
    iptables -I INPUT -i br0 -j check_mac 
    iptables -I FORWARD -i br0 -j check_mac 
    iptables -A check_mac -m mac --mac-source 00:12:34:56:78:90 -j RETURN
    iptables -A check_mac -m mac --mac-source 00:12:34:56:78:90 -j RETURN
    iptables -A check_mac -j DROP
    Replace the mac addresses with the mac addresses you want to be allowed access. Anything computer not on the list will be blocked. If you only want to allow these macs I THINK you can change RETURN to DROP and DROP to RETURN... But I'd have to look it up to make sure. This is just what I use. Hope this helps..
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice