1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Firewall Script Wanted

Discussion in 'HyperWRT Firmware' started by adam217, Jun 13, 2006.

  1. adam217

    adam217 Network Guru Member

    I would like to have a firewall script to use with Thibor firmware that would block all incoming and outgoing communication to Microsoft. I know this may not be the best place to ask, but I figured that some of the geniuses around here may be able to help me or at least point me in the right direction. I've seen some post on how to block a specific ip's incoming and outgoing packets but I don't have all the ip numbers I would need to do this or know the best way to obtain this information.

    I and I would guess many others don't like that MS basically has a revolving door to any information they like on YOUR computer. If anybody could point me in the right direction to get me started I would be grateful.
     
  2. Toxic

    Toxic Administrator Staff Member

    To block all of microsofts servers would be a big task.

    why not block the services that MS use on each machine.

    http://www.xp-antispy.org/
     
  3. Thibor

    Thibor Super Moderator Staff Member Member

    if this helps, microsofts dns servers are all in the 207.46.138.x range. so in theory you could do iptables -A PREROUTING -d 207.46.138.0/24 -J drop to block outgoing dns resolution form microsoft sites. and iptables -t filter -I INPUT -s 207.46.138.0/24 -J drop to block incoming.
    this is just a hint, ymmv
    Microsoft actually own ALL 207.46.x.x addresses
     
  4. Toxic

    Toxic Administrator Staff Member

    I would guess MS would be more clever then just to use thoses IP ranges for spying on the casual user tbh. otherwise we would ahve everyone blocking MS.com :) :rofl:
     
  5. Toxic

    Toxic Administrator Staff Member

    lol microshaft at its work. they must be watching me!!!

    Jun 14 00:00:05 2006 Connection Refused - Policy violation TCP 207.46.24.52:1863->81.xx.xx.xx:2806 on ixp1
    Jun 14 00:00:11 2006 Connection Refused - Policy violation TCP 207.46.24.52:1863->81.xx.xx.xx:2806 on ixp1
     
  6. adam217

    adam217 Network Guru Member

    Thank You, that was the help I needed.
     

Share This Page