How to block one computer from LAN without blocking everyone else

Page 2 of 2 FirstFirst 12

  1. Posts : 37
    Win 7 Pro x64
       #11

    what an intriguing question! since you were using the name, i figured you could intentionally screw up netbios name resolution by adding your roomate's computer name to your LMHOSTS file and pointing it to 127.0.0.1... however, in my tests, it didn't matter. besides, this wouldn't help you if he connected based on your IP address.

    if you control your router that your roommate connects to, and he doesn't have your password, you can set a DHCP reservation for his MAC address. then, set it to some IP that you'd block in your firewall. but if he knows networking, all he'd have to do is statically set an address on his box... if you had some super funky subnet mask, it would be harder for him to guess at a valid address, but even that's a long shot.

    i was also going to suggest using ARP to force his MAC address to go to an invalid address on your PC (to intentionally confuse networking), but the problem is that you can have a single MAC pointing to multiple addresses. even if you delete the current instance, once you do any netbios broadcast, your ARP table gets rebuilt.

    if there were a firewall app you could download that could block based on a MAC, you'd be set.
      My Computer


  2. Posts : 6
    Windows 7 Ultimate X64
    Thread Starter
       #12

    Thank you guys for the responses! I sincerely did try and google this problem before bothering anyone on this forum, but google turned up nothing (probably my wording...). I did exactly what barman58 said and set up a username and password specifically to give out to people that randomly drop by my house. While my roommate isn't a computer geek such as ourselves , I'm sure he would have tried to find a way to get into my stuff again.

    The router I have is a pretty amazing thing, I had no idea the amount of options this thing is packed with, I mean it even does its own brute-force speed test once rebooted. I may try and play around with that later to see about blocking his mac address, and since I am a nosey person... I decided to sign up for http://openDNS.org and block a couple websites I know hes been going to. Lets just say I do not need the cops banging on my door for his...Illegal activities. Hopefully this will be a temporary fix until I can convince someone else to move in and kick this little pest out.

    Thanks again for the replies guys! With what knowledge I have I'll attempt to help some others out on this forum as well. Who knows, a stubborn person like me may learn a thing or two
      My Computer


  3. Posts : 31,242
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #13

    TooCrooked said:

    if there were a firewall app you could download that could block based on a MAC, you'd be set.
    Just in case you ever need this Comodo Firewall will allow you to set this up based on the MAC address which would allow you to block a specific NIC from access to a machine whilst still allowing them internet access and allowing others access.

    I can see an advantage in this where the router is shared and subnets set by others
      My Computers


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #14

    The guide I posted is in fact the only way to accomplish this. It's not too difficult to set up if you try. :)
      My Computer


  5. Posts : 7
    Windows 7 Ultimate 64-bit
       #15

    Answered


    WAY OLD REPLY but for those still looking..
    Open the advanced firewall configuration. In the left panel, choose Inbound or Outbound rules.

    1. Click New rule in the right panel.

    2. Choose Custom.

    3. In the left, go to "Scope." Choose “These IP addresses”, click Add button and add the IP range.

    4. Go to Action, choose Block the connection.

    Hope it helps.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:25.
Find Us