Hello
Is there a way on RouterOS to setup QoS for online games like Apex Legends with packet prioritization not Queues?
Thanks in advance
Hello
Is there a way on RouterOS to setup QoS for online games like Apex Legends with packet prioritization not Queues?
Thanks in advance
You can prioritize packets only by queuing them, i.e. you delay or drop other packets…
Otherwise, you can try adding the game ports to a FastTrack rule in the firewall and disable the default one, but then the CPU will take a big hit from NAT for all other traffic - unless you have a more powerful device like a RB5009. I am not sure how effective this would be if you saturate your line with Torrent traffic while you’re gaming, though. Once the buffers are full, I would think that it is going to be terrible either way…
Thanks for the respond
The router is RB4011, and I want the traffics to be normal (default) until there are packet from the game ports or IPs them there are the high priority and the rest of the packets are delayed. since I have servers and some torrent clients etc I cannot really control their usage time or the overall speed so I want to delay them and all the other traffics when gaming.
How can I achieve this?
You can FastTrack the gaming client (with a static address) and queue everything else as you wish, with a limit 20% lower than your max (the rest would be reserved for the gaming client to avoid queuing latency). A SFQ type simple queue can do that.
You can FastTrack the game ports as well, if you prefer to do so.
Example:
1 Gbps plan + 200M overprovisioning
940 queue limit (-20%)
/queue type
add kind=sfq name=sfq sfq-perturb=10
/queue simple
add max-limit=940M/940M name=sfq queue=sfq/sfq target=192.168.88.0/24
/ip firewall filter
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related src-address=\
192.168.88.xxx
Unfortunately that did not work for me ![]()
You need to change the subnet to match your network range and the client’s static ip (from the DHCP server). You must also disable the default FastTrack rule in the firewall - otherwise the queue is bypassed. At the very least, the queue will provide fair sharing of the bandwidth, making sure you do not have bufferbloat while gaming. The extra rule just bypasses this, so your gaming client’s traffic isn’t queued at all.
Without your settings, it’s impossible to know what went wrong…
Here is an example of using FastTrack to prioritize game traffic on Xbox (other traffic must be queued):
/ip firewall filter
add action=fasttrack-connection chain=forward comment=Xbox port=3074 protocol=udp
Thanks again for the response.
Yeah I did all that but things went wrong somehow.
What sort of rules gonna bypasses using FastTrack? (cause I have a lot of filter/NAT/mangle rules that I don’t want to get bypass)
Let me clarify my setup and the simplest way we can handle it:
So I have a RB4011 as my main router which is the one with the WAN (40Mbps/8Mbps) with 192.168.11.0/24 subnet where is gaming machine is connected also there’s a Hap lite that connects to ether4 of my router where I have another Proxmox node, AP and the TV setup (10.10.5.0/24 subnet) which the connection (access) from Hap lite to RB4011 should only be for internet, meaning the devices behind the Hap lite shouldn’t have any access to my 192.168.11.0/24 subnet but they should have access to the internet which RB4011 is providing.
Now since I have a Proxmox node on the hAP lite side and also on RB4011 side I don’t want any queues to limit that connection cause they are connected together (I know earlier I said devices from hAP lite side and RB4011 shouldn’t access each other but that’s only should be by default so I was thinking of setting up a sort of address-list where I add the IP of devices I want to bypass that filter and access the other subnet) so the queues should limit the WAN (internet) traffic for hAP side to (11Mbps/0.5Mbps) but the LAN (local) connection between two routers should remain 1Gbps (So a simple queue to limit the traffic of 192.168.11.87 (The IP that hAP lite is getting from RB4011) won’t work) (I know hAP lite ports are only 100Mbps but I’m planing to change the hAP lite to hAP ax2 as soon as I figure out the setups and have everything in place).
FastTrack is not bypassed, you just set it to a specific client’s IP traffic (by default it processes all tcp/upd established connections), so it can use the reserved bandwidth if there is congestion. Your 40 Mbps connection might be over-provisioned (a WAN speed test will determine this) by 5 Mbps. If you set the queue to limit downloads to 40M, 5M will be left for your gaming machine’s FastTracked traffic (more than enough for real time traffic).
From my understanding of your topology, the second router (R2) could act like a simple switch (it is not the case with 2 subnets), so the DHCP server would remain on R1 and you can set a static IP for the gaming client from there. It doesn’t matter what is on R2, because all traffic going through the gateway will be queued as required is you limit the switch. You would use VLANs to isolate clients.
If you use 2 subnets, each router requires a DHCP server.
You can still limit the R2 if you wish as a router - it has an IP (static) in either case. Or create queues for each device using simple queues.
BTW, pcunite’s QoS model works as is - it’s just a little resource intensive IMO. It removes all the guess work - you can simply add the UDP gaming ports to the VOIP rule.
I’ve been playing Apex Legends for a while, and setting up QoS on RouterOS can definitely help improve your gaming experience. Instead of using queues, you can prioritize packets by marking game traffic with a higher priority. You can do this by identifying the ports Apex Legends uses and setting rules to prioritize this traffic.
To set this up, go into RouterOS, find the “Firewall” section, and then the “Mangle” tab. Create a new rule to mark packets for Apex Legends’ ports with a higher priority. Then, in the “IP” section, go to “QoS” and set up your priorities accordingly. This setup ensures that your game traffic gets the bandwidth it needs for a smooth experience.
Additionally, if you’ve ever faced bans in Apex Legends, I found a good HWID changer on PhantomSpoofer that helps bypass these issues. It changes your hardware ID, making it easier to get back into the game without hassle. It’s been really helpful for maintaining a smooth gaming experience.