OpenWRT Gaming Mode for flint 2 GL.iNet GL-MT6000 Make Your Ping Stable
Автор: ONE3R
Загружено: 2025-11-10
Просмотров: 416
Описание:
This video shows the best gaming settings for the flint 2 GL.iNet GL-MT6000 router running OpenWRT. These tweaks improve latency stability upload response and overall match performance. This is the continuation of the previous setup guide where the system was installed from scratch. Now you will see how to tune the network for smoother gameplay no matter the platform
#OpenWRT #GamingRouter #MT6000 #GLiNet #LowLatency #PingFix #RouterTweaks #gamingsetup
this is the script
#!/bin/sh
LAN_IP="YOUR IP OFF YOUR DEVICE HERE"
DSCP_MARK="EF"
add_dscp_rule() {
local name="$1"
local proto="$2"
local port="$3"
local rule_handle=$(uci show firewall | grep -E "firewall\.@rule\[[0-9]+]\.name='$name'" | cut -d'.' -f2 | cut -d'=' -f1)
if [ -n "$rule_handle" ]; then
echo "Deleting existing rule: $name"
uci del firewall.$rule_handle
fi
echo "Adding new rule: $name"
uci add firewall rule
uci set firewall.@rule[-1].name="$name"
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].dest='wan'
uci set firewall.@rule[-1].proto="$proto"
uci set firewall.@rule[-1].src_ip="$LAN_IP"
uci set firewall.@rule[-1].dest_port="$port"
uci set firewall.@rule[-1].target='DSCP'
uci set firewall.@rule[-1].set_dscp="$DSCP_MARK"
}
echo "Starting rule creation for Apex Legends Battlefield and Call of Duty"
add_dscp_rule "Apex_DSCP_TCP_1024_1124" "tcp" "1024-1124"
add_dscp_rule "Apex_DSCP_TCP_3216" "tcp" "3216"
add_dscp_rule "Apex_DSCP_TCP_9960_9969" "tcp" "9960-9969"
add_dscp_rule "Apex_DSCP_TCP_18000" "tcp" "18000"
add_dscp_rule "Apex_DSCP_TCP_18060" "tcp" "18060"
add_dscp_rule "Apex_DSCP_TCP_18120" "tcp" "18120"
add_dscp_rule "Apex_DSCP_TCP_27900" "tcp" "27900"
add_dscp_rule "Apex_DSCP_TCP_28910" "tcp" "28910"
add_dscp_rule "Apex_DSCP_TCP_29900" "tcp" "29900"
add_dscp_rule "Apex_DSCP_UDP_1024_1124" "udp" "1024-1124"
add_dscp_rule "Apex_DSCP_UDP_18000" "udp" "18000"
add_dscp_rule "Apex_DSCP_UDP_29900" "udp" "29900"
add_dscp_rule "Apex_DSCP_UDP_37000_40000" "udp" "37000-40000"
add_dscp_rule "BF_DSCP_TCP_5222" "tcp" "5222"
add_dscp_rule "BF_DSCP_TCP_9988" "tcp" "9988"
add_dscp_rule "BF_DSCP_TCP_17502" "tcp" "17502"
add_dscp_rule "BF_DSCP_TCP_20000_20100" "tcp" "20000-20100"
add_dscp_rule "BF_DSCP_TCP_22990" "tcp" "22990"
add_dscp_rule "BF_DSCP_TCP_42127" "tcp" "42127"
add_dscp_rule "BF_DSCP_UDP_3659" "udp" "3659"
add_dscp_rule "BF_DSCP_UDP_14000_14016" "udp" "14000-14016"
add_dscp_rule "BF_DSCP_UDP_22990_23006" "udp" "22990-23006"
add_dscp_rule "BF_DSCP_UDP_25200_25300" "udp" "25200-25300"
add_dscp_rule "COD_DSCP_UDP_3074" "udp" "3074"
add_dscp_rule "COD_DSCP_UDP_3075" "udp" "3075"
add_dscp_rule "COD_DSCP_UDP_3478" "udp" "3478"
add_dscp_rule "COD_DSCP_UDP_4380" "udp" "4380"
add_dscp_rule "COD_DSCP_UDP_27000_31" "udp" "27000-27031"
add_dscp_rule "COD_DSCP_UDP_27036" "udp" "27036"
add_dscp_rule "COD_DSCP_UDP_49152_65535" "udp" "49152-65535"
uci commit firewall
etc/init.d/firewall restart
echo "All game DSCP rules added with EF"
any questions let me know in the comments!!!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: