Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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.

share|improve this answer
    
thanks. And to block the IP I use the hosts file, right? – Alex Sep 14 '12 at 23:06
4  
@Alex For blocking IPs you use a firewall. Host files are about resolving named addresses. – gertvdijk Sep 14 '12 at 23:10
1  
ok i found out this thing: forums.eukhost.com/f15/how-block-ips-using-windows-3638/… – Alex Sep 14 '12 at 23:25
1  
@Alex by default windows 7 firewall blocks all unsolicited attempts to connect to you PC, unless the ip is requested to make a connection from your end, this could be done a legitimate program or malware doing this. Exceptions can be made in the windows firewall program itself, you might see what exceptions are there. – Moab Sep 14 '12 at 23:36
    
well, here's the full story: gaming.stackexchange.com/questions/83384/… :( – Alex Sep 14 '12 at 23:38

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...
share|improve this answer
    
Those addresses in the link are not /16. They are /32. a /16 is over 65,000 addresses – Sirex Sep 18 '12 at 0:07

This is actually true for those who reading this and shaking your head in disbelief this is going on. I don't believe there is anyway to block his IP (the reason is the user is not connecting to your computer but the battle.net computer), but here is the teamliquid thread on it going on. According to them the only work around is this (edited for language)

To Play user map setting, make game name as desired but change gametype to Top vs bottom. Once your lobby is full.

Remake same game name with the password as "1" The reason is frux is just affecting the UMS (Use map settings) lobby list. A lobby list is just needed a name to bring them together.

For example: you wish to host lobby for sunken d. You would make the game name "Sunken D!!!" select the map but change setting in game creator to Top vs Bottom. Now your game name is able to be joined. When your lobby is full, remake the same game name as before "Sunken D!!" just add a password you notify to use that in the lobby before you remake the game

share|improve this answer

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...

share|improve this answer
    
Warning - please do not use obscenities in your posts. I've removed it for you. Note that other users may have flagged your post as "rude or abusive" leading to possible rep loss or suspension. Please read Be Nice: "Avoid vulgar terms and anything sexually suggestive". – DavidPostill Apr 26 at 9:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.