Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Blocking IP in same network
New Posts  All Forums:Forum Nav:

Blocking IP in same network

post #1 of 4
Thread Starter 
Alright, my friends and I LAN fairly often, and I was joking with one of them and said that I would block his IP from getting into my computer. He said he would call it a feat of genius if I could actually do that, so of course I want to know how. First of all, is it possible to block an IP? I'm fairly sure that you can, but I can't remember how to do it right now. Second, we're all connect to the same router, giving us the same IP address for internet, but each computer has it's own IP. Is it possible ti block a computer IP? Thanks guys
Reincarnation
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X3 740 (Unlocked to X4 40) Asus M4A88TD-V Evo USB3 XFX 4890 2x2GB G. Skill Ripjaw DDR3 1600 
OSKeyboardPowerCase
Windows 7 Ultimate Saitek Eclipse II Antec TruePower 2.0 550W Thermaltake V9 BlacX 
Mouse
Logitech MX1000 
  hide details  
Reply
Reincarnation
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X3 740 (Unlocked to X4 40) Asus M4A88TD-V Evo USB3 XFX 4890 2x2GB G. Skill Ripjaw DDR3 1600 
OSKeyboardPowerCase
Windows 7 Ultimate Saitek Eclipse II Antec TruePower 2.0 550W Thermaltake V9 BlacX 
Mouse
Logitech MX1000 
  hide details  
Reply
post #2 of 4
Thread Starter 
bump
Reincarnation
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X3 740 (Unlocked to X4 40) Asus M4A88TD-V Evo USB3 XFX 4890 2x2GB G. Skill Ripjaw DDR3 1600 
OSKeyboardPowerCase
Windows 7 Ultimate Saitek Eclipse II Antec TruePower 2.0 550W Thermaltake V9 BlacX 
Mouse
Logitech MX1000 
  hide details  
Reply
Reincarnation
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X3 740 (Unlocked to X4 40) Asus M4A88TD-V Evo USB3 XFX 4890 2x2GB G. Skill Ripjaw DDR3 1600 
OSKeyboardPowerCase
Windows 7 Ultimate Saitek Eclipse II Antec TruePower 2.0 550W Thermaltake V9 BlacX 
Mouse
Logitech MX1000 
  hide details  
Reply
post #3 of 4
Quote:
Originally Posted by kevin_tsoi2000
Alright, my friends and I LAN fairly often, and I was joking with one of them and said that I would block his IP from getting into my computer. He said he would call it a feat of genius if I could actually do that, so of course I want to know how. First of all, is it possible to block an IP? I'm fairly sure that you can, but I can't remember how to do it right now. Second, we're all connect to the same router, giving us the same IP address for internet, but each computer has it's own IP. Is it possible ti block a computer IP? Thanks guys
Theres a couple of ways to do this. First, depening on your rotuer you could go into your router by accessing its IP address.Then go to the section (If it exists) Access restrictions. There you should see a list of options, then go to the section that allows you to enter IP Addresses. Enter his and you should be set providing his IP Address is a static IP address.
My System
(13 items)
 
  
CPUMotherboardOSMonitor
Opty 165 CCBWE 0617 DFI Lanparty NF4 SLI-DR WinXP Pro SP2 Samsung 225BW 
KeyboardPowerCase
Microsoft Natural OCZ 700W Antec Nine hundred 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardOSMonitor
Opty 165 CCBWE 0617 DFI Lanparty NF4 SLI-DR WinXP Pro SP2 Samsung 225BW 
KeyboardPowerCase
Microsoft Natural OCZ 700W Antec Nine hundred 
  hide details  
Reply
post #4 of 4
Under FreeBSD, you could add a faked route for the IP you want blocked. A "cleaner" solution would be to add the restricted IP in a firewall's configuration. In PF, for example, you'd add the line: block in quick from [restrictedip] to any

In Windows, you would either need to use a third-party firewall, use the IPSec policy editor, or add a fake route to the routing table for the IP you want blocked. So, something like: route add [restrictedip] mask 255.255.255.255 10.10.10.10 would work (where 10.10.10.10 is some garbage IP address that isn't assigned to any machine on your LAN), but if he tried to initiate any sort of connection, your machine would make a futile attempt to route the response traffic through this nonexistent IP, creating noise on the network. It's probably wouldn't be very noticeable, since the network is a small LAN, but it's obviously not as clean of a solution as using a configurable firewall.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Blocking IP in same network