Clean up your community server list from fake servers

Nikooo777

when life gives me lemons, I rtv
Staff member
Head Admin
Administrator
EliteHunterz Clan Member
Donator
25 Mar 2010
5'675
1'405
113
31
Switzerland
elite-hunterz.com
Does your server list look like this?
1695925184800.png


It's because Valve doesn't give a fuck about communities anymore.
If you want to clean it up so that it's usable again to find servers you may follow these instructions for windows:

Steps:
open the PowerShell as administrator
paste this in:
Bash:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220','185.251.38.220','91.219.60.42','193.233.164.16','91.193.180.118','193.233.80.224')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."

press enter

result:
2023-09-28_20-26-08-055172638.png
 
Last edited:
You are the best Nikoo
 
Used again to add a new ip(185.251.38.220):


Code:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."
 
You can't block all of them... there are many community server which has different IP Adresses.
View attachment 18130
I've checked that and the only thing that changes is the port, so i update again the script with the new ip:

Before:
1.jpg

After:
2.jpg

Code:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220','185.251.38.220')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."
 
  • Like
Reactions: Sauron Cat
thanks updated. there's probably more, I keep updating them as they come up
 
  • Like
Reactions: Sarevok
I just noticed that i can't reply on other threads... and i can't react on other people posts. Got this: Security error occurred. Please press back, refresh the page, and try again.

1697544401310.png

Anyway those IPs are blocked but there are still 200+ IPs that needs to be blocked for every normal player.
 
  • Haha
Reactions: Woozu
Update: added 2 ips more ('91.219.60.42','193.233.164.16')
Sin título.jpg

Bash:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220','185.251.38.220','91.219.60.42','193.233.164.16')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."
 
Update with new ip: 91.193.180.118
Bash:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220','185.251.38.220','91.219.60.42','193.233.164.16','91.193.180.118')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."
 
Update with a new ip: 193.233.80.224

Bash:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220','185.251.38.220','91.219.60.42','193.233.164.16','91.193.180.118','193.233.80.224')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."
 
Update with a new ip: 91.108.246.11

Bash:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220','185.251.38.220','91.219.60.42','193.233.164.16','91.193.180.118','193.233.80.224','91.108.246.11')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."
 
Added another ip: 62.133.60.237


Bash:
# List of IP addresses to block
$IPList = @('89.111.131.172', '91.219.149.6', '188.127.241.129','212.57.127.30','194.87.37.193','193.107.113.65','185.84.162.112','185.251.38.220','185.251.38.220','91.219.60.42','193.233.164.16','91.193.180.118','193.233.80.224','91.108.246.11','62.133.60.237')

# Loop through each IP and block it
foreach ($IP in $IPList) {
    Write-Host "Blocking IP: $IP"

    # Block inbound traffic
    New-NetFirewallRule -DisplayName "Block IP Inbound - $IP" -Direction Inbound -RemoteAddress $IP -Action Block

    # Block outbound traffic
    New-NetFirewallRule -DisplayName "Block IP Outbound - $IP" -Direction Outbound -RemoteAddress $IP -Action Block
}

Write-Host "All IPs have been blocked."
 
  • Like
Reactions: Sauron Cat