Display all incoming connections on my computer to block certain IP

2

1

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.

Alex

Posted 2012-09-14T22:59:46.867

Reputation: 21

Answers

9

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.

gertvdijk

Posted 2012-09-14T22:59:46.867

Reputation: 3 396

thanks. And to block the IP I use the hosts file, right? – Alex – 2012-09-14T23:06:41.180

4@Alex For blocking IPs you use a firewall. Host files are about resolving named addresses. – gertvdijk – 2012-09-14T23:10:39.570

1

ok i found out this thing: http://forums.eukhost.com/f15/how-block-ips-using-windows-3638/#.UFO57WL57Qc

– Alex – 2012-09-14T23:25:45.737

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 – 2012-09-14T23:36:10.387

well, here's the full story: http://gaming.stackexchange.com/questions/83384/how-to-find-ip-of-player-from-battle-net :(

– Alex – 2012-09-14T23:38:11.030

they should block the ip on the game server, if hacker is smart they will adapt and change ip's making it near impossible to block if they are skilled. If battle.net cannot stop them I would stop playing until they resolve the problem – Moab – 2012-09-14T23:40:36.290

1

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

Alexa

Posted 2012-09-14T22:59:46.867

Reputation:

Those addresses in the link are not /16. They are /32. a /16 is over 65,000 addresses – Sirex – 2012-09-18T00:07:58.983

0

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

Zastrix Arundell

Posted 2012-09-14T22:59:46.867

Reputation: 1

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 – 2016-04-26T09:23:51.463

0

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

Halfwarr

Posted 2012-09-14T22:59:46.867

Reputation: 105