The best way to do this is to add static routes to your machine. Let's say you want to block access to 100.10.20.30 from your PC.
First, get your local IP address with "ipconfig" from the command line. Let's say it.s 192.168.0.100. You need to pick, at random, another IP address on this network that's not in use. In this case, pick 192.168.0.222.
And the command line, enter:
"ROUTE -P ADD 100.10.20.30 MASK 255.255.255.255 192.168.0.222"
Here's how this decomposes.
ROUTE - The command to view or edit your static routing table
-P - Make it a persistent route that re-loads on reboot
100.10.20.30 - The IP address being blocked
MASK - Says the next number coming is the subnet mask
255.255.255.255 - Subnet mask for an individual IP address instead of a network
192.168.0.222 - The place the traffic for this IP should be sent (called the gateway). In this case, we use a bogus IP address on your local network so that the traffic just dies.
Should do exactly what you want. If you want to remove it, do a "ROUTE DELETE 100.10.20.30"
- G