I want to block a certain IP address at my firewall which is connected to my PC, but I don't know what it looks like.
Is there any way I can see a list of all IPs having connections with my PC?
So far I tried netstat -b -n in the command line, but from the list I get the only one showing appears to be the IP of a server that I don't want to block.
3 Answers
Yes, there is. A command-line approach to this is using netstat. See this how-to.
netstat is very similar to using netstat on Unix-based systems, by the way, so this applies not only for Windows.
So I found out after all his IPs. Some guy HostBot from USEast posted this link.
Here's how to do it:
- start => cmd
- type "mmc"
- file => add/remove snap-in
- select from the left "ip security policy manager", add it to the right and type ok
- now from the console root, right click "ip security..." and select "Create ip security policy", next, next, finish
- click "add" in the edit screen of your policy, and in the "ip filter lists" screen add a new filter.
add new IPs to the list; leave the Source address as "any Ip address" and the destination must be "a specific Ip address or submask", where u enter each of the following:
24.44.109.0/16 67.81.254.0/16 67.86.123.0/16- click ok, save all settings, then right click policy => assign...
Or you can also just install netcut, which is a program used for checking your "network security" (says in the app description), so you will list all IP-s on your network and easily cut 'em.
(uses a special command that disables the network protocol of the device you cut)
You won't exactly kick them, but you will block the user from using the data of the connection.
For an example, I live in a dorm and the speed is 5-10Kb/s, so I use netcut and boost up my network by cutting others, the speed jumps to 200Kb/s...
1