Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to block one computer from LAN without blocking everyone else

29 Aug 2010   #11
TooCrooked

Win 7 Pro x64
 
 

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 System SpecsSystem Spec
.
30 Aug 2010   #12
Devoldo

Windows 7 Ultimate X64
 
 

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 System SpecsSystem Spec
30 Aug 2010   #13
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

Quote   Quote: Originally Posted by TooCrooked View Post

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 System SpecsSystem Spec
.

30 Aug 2010   #14
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

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 System SpecsSystem Spec
17 Aug 2014   #15
ZugZug

Windows 7 Ultimate 64-bit
 
 
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 System SpecsSystem Spec
Reply

 How to block one computer from LAN without blocking everyone else




Thread Tools




Similar help and support threads
Thread Forum
How do I block programs that are not installed on my Computer?
As the title says I want to know how to block programs that are not installed in my units e.g. IDM, I run a computer shop business and my customers have been complaining lately that there's been a lot of people using IDM to download stuffs. I did disable program installations on my units but...
General Discussion
Ping DG, ftp block/httpd block
Hello Guys, I find this to be quite embarrassing, having an issue like this that I can't figure out. Here's what I can't do. 1. Ping DG (Default Gateway) 2. Ping my IP (96.46.29.108) 3. Can't access my router via remote, even though its setup to allow it.
Network & Sharing
How to unblock/block a specific computer?
Okay, I start this way. Me and my brother have both W7 Home 64bit, and I'm able to connect every other computer, but not his. also he can connect others but not me (example. I cant see him on network, cant connect his server (any game that needs your computer to host it up)). everyone says that we...
Network & Sharing
I want to block all access from a computer in the LAN
I want to block all access from, as in completely locking out, a computer in the LAN behind the Internet router that we all share. I don't want that machine to have any access to my Win 7 computer at all, since the user of that machine might going to try hacking into the LAN network. I want to know...
System Security
block video playing on computer
i would like to know, is there anyway to globally block all options on video playing on a computer, any player at all should not be able to play a video, only listen to music. forgot to mention, my problem is to block other users from playing video files. i would like to know for windows 7 as...
General Discussion


Our Sites

Site Links

About Us

Find 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 11:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App