Grand Theft Auto V

Grand Theft Auto V

106 évaluations
Block countries with windows firewall
De Khundian
Tired of players from certain countries in your games, talking in a language you cannot read. Block them with windows firewall from accessing your server or games.
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
1. Download PowerShell Script
{LIEN SUPPRIMÉ}
2. Extract PowerShell Script
Extract "country-ip-blocklist.zip" to a new folder, for example c:\country-ip-blocklist
3. Create or update the *.zone.txt files
Go to {LIEN SUPPRIMÉ} and click the “aggregated zone file” for each country you wish to block, copy the IP list and save it to a text file with this format: China -> china.zone.txt and copy the text file to the "country-ip-blocklist" folder we created earlier.
4. Run PowerShell as administrator
Search your computer for "powershell.exe", rightclick it and run as administrator
5. Navigate PowerShell to country-ip-blocklist folder
Type in PowerShell window (without the quotes) "cd c:\country-ip-blocklist"
6. Change PowerShell scripts policy to make the firewall rules
Type without quotes “PowerShell.exe -ExecutionPolicy Bypass”
This will set the scripts Policy of PowerShell so that it can make the Windows Firewall Rules.
7. Add the contents of *.zone.txt files to windows firewall
Type in PowerShell window without the quotes ".\Import-Firewall-Blocklist.ps1 -inputfile china.zone.txt"
And repeat for every zone you want to block, you can press the up arrow on your keyboard to bring up the last entered line in PowerShell and edit the command like that for ease of use.
8. Change PowerShell scripts policy back to default
Type without quotes “PowerShell.exe -ExecutionPolicy Restricted”
9. Remove *.zone.txt contents from windows firewall
If you want to enable access again for a country, type in the PowerShell window without the quotes ".\Import-Firewall-Blocklist.ps1 -inputfile china.zone.txt -deleteonly"
Repeat for all the zones you want to unblock.
10. List of countries in the country-ip-blocklist.zip file (updated 12 sep 2017)
bulgaria.zone.txt
china.zone.txt
kazakh.zone.txt
kyrzygh.zone.txt
macedonian.zone.txt
montenegro.zone.txt
russia.zone.txt
serbia.zone.txt
southkorea.zone.txt
tajikistan.zone.txt
turkmenistan.zone.txt
ukraine.zone.txt
uzbekistan.zone.txt
48 commentaires
elpx 20 oct. 2022 à 5h11 
hey, can you accept my friend request pls? It's about trading I want to buy your completely overkill pack
Console 16 mars 2022 à 10h34 
Thx for ban ukraine!
Kate Hanami 15 mars 2022 à 22h21 
link removed, please update
Console 26 avr. 2020 à 16h12 
Thx for blocking ukraine!
Barrel Roll 21 juil. 2019 à 1h18 
Hi where do i get IP ranges for South America. Brazil and mexico
frried 11 juin 2019 à 4h43 
@Parkrover
@TKY_OMAR
It does work
sosu 11 avr. 2019 à 21h18 
Still works? x2
TKY_OMAR 1 mars 2019 à 6h54 
Still works ?
Coffee Addicted☕ 26 févr. 2018 à 15h03 
i blocked countries with high ping : japan-china-thailand-korea-brazil
Vazkulator 30 déc. 2017 à 12h42 
how do i block indians and muslim countries?