In this article, I will show you how to block games using mikrotik router, the game includes PUBG, LOL, DOTA and so on.
Create Address List
Go to "IP" > "Firewall" > "Address Lists"
First you will name your IP Lan block. In this article I named it "Lan IP". My local network address is 192.168.1.0/24.
Create Raw Rule
Go to "IP" > "Firewall" > "Raw".
I will block "pubg mobile" first and you can easily do blocking with other games.
To block the pubg mobile I will create a list of IP addresses of pubg servers.
Next step I will create a rule. To do that you need a list like the one above, this list I put here, you can copy it:
GAME PORTS
---------------------
PUBG Mobile
TCP : 7889,10012,17500,18081
UDP : 8011,9030,10010-10650,11000-14000,17000,20000,20001,20002
PUBG PC
TCP: 27015-27030,27036-27037
UDP: 4380,27000-27031,27036
FREE FIRE
TCP : 7006,14000,20561,39698,39779,39003
UDP : 7008,10000-10009,17000
MOBILE LEGENDS
TCP : 5500-5700,8001,30000-30300,9000-9010
30097-30147,30000-30150,9001,30101-30105,5057,5228,5001-5009,
5520-5529,5551,5651,5153
UDP : 5000-5200,5500-5700,8001,30000-30300,9000-9010
5601-5602,5025,5605,5005,5503,5101-5109,5001-5009,30101,
5520-5529,5020-5024,5501-5509,5517
POINT BLANK
TCP : 39190-39200,49001-49190
UDP : 40000-40010
AOV
TCP : 10001-10094
UDP : 10101-10201,10080-10110,17000-18000
GARENA LEAGUE OF LEGEND (LOL):
TCP : 2080-2099
UDP : 5100
DOTA 2
TCP : 9100-9200,8230-8250,8110-8120,27000-28998
UDP : 27000-28998,39000
This is essentially how to get the IP address of the pubg servers, and memorize it on the mikrotik router.
You create two rules for TCP and UDP, and here is the list of PUBG server ip addresses that you will receive.
Every time someone play pubg mobile the server IP address will be stored here.
Create Mangle Rule
Go to "IP" > "Firewall" > "Mangle". Based on the list of available PUBG server ip addresses, you will block them. I will mark the connection of packets from the local area network to the PUBG server.
General
Chain : prerouting
Advanced
Src.Address List : LAN-IP, Dst.Address List : PUBG_Mobile
Action
Action : Mark Connection, New Connectiong Mark : PUBGM_Route
Create Filter Rule
Go to "IP" > "Firewall" >"Filter Rules"
General
Chain : forward, Connect Mark : PUBGM_Route
Action
Action : drop
After creating the filter rule the pubg mobile will be blocked. For other games you do the same as above.
Facebook: https://www.facebook.com/routerbest
Twitter: https://twitter.com/routerbestcom
Tags: Mikrotik