Grand Theft Auto V

Grand Theft Auto V

106 Bewertungen
Block countries with windows firewall
Von 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.
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
1. Download PowerShell Script
{LINK ENTFERNT}
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 {LINK ENTFERNT} 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 Kommentare
elpx 20. Okt. 2022 um 5:11 
hey, can you accept my friend request pls? It's about trading I want to buy your completely overkill pack
Console 16. März 2022 um 10:34 
Thx for ban ukraine!
Kate Hanami 15. März 2022 um 22:21 
link removed, please update
Console 26. Apr. 2020 um 16:12 
Thx for blocking ukraine!
Barrel Roll 21. Juli 2019 um 1:18 
Hi where do i get IP ranges for South America. Brazil and mexico
frried 11. Juni 2019 um 4:43 
@Parkrover
@TKY_OMAR
It does work
sosu 11. Apr. 2019 um 21:18 
Still works? x2
TKY_OMAR 1. März 2019 um 6:54 
Still works ?
Coffee Addicted☕ 26. Feb. 2018 um 15:03 
i blocked countries with high ping : japan-china-thailand-korea-brazil
Vazkulator 30. Dez. 2017 um 12:42 
how do i block indians and muslim countries?