A small script made for ASUS routers running Merlin firmware, which is trying to detect the current Activision server (call of duty series), retrieves geographical IP date and using Skynet ( https://github.com/Adamm00/IPSet_ASUS#help ) allows you to ban the server IP,IP range or the whole country (probable makes no sense, but i added this because i can).
- Asus router with Merlin Firmware installed (https://asuswrt.lostrealm.ca). Tested on latest release 384.5
- JFFS enabled
- API key for geolocation service (https://app.ipgeolocation.io/)
- Entware ( https://github.com/RMerl/asuswrt-merlin/wiki/Entware )
- jq ( opkg install jq )
- Download the script in /JFFS partition
- login
- cd /jffs
- wget https://raw.githubusercontent.com/sfortis/pmd/master/pmd.sh
- dos2unix pmd.sh
- Give execution permissions ( chmod +x pmd.sh )
- Edit the script and customize the variables / paths.