Please help me set up my router tp-link ec220-g5 v2 for CS 2.

Hey guys! I'm looking for help setting up OpenWRT for the internet and router in CS 2. I'll say right off the bat that I'm a complete newbie when it comes to OpenWRT settings; I can configure Wi-Fi, DNS servers, and the like, which is pretty straightforward. The problem is that when I configure certain settings in OpenWRT, my mouse on the desktop and in-game noticeably changes direction. Basically, when I select certain settings, the mouse becomes sharp, fast, and very pleasant, but enemies literally kill me in 0.1 ms, making it impossible to outshoot them. (I'd also like to add that this changes the image on the monitor: it can be very smooth, which is very pleasant, but the mouse freezes like a rock, with no damage or hit registration.) Or the image starts to tear, as if I'm playing at 40 FPS and 30 Hz. I contacted Gpt for help with the setup, but they generate parameters, most of which are not suitable for my router. I used to think it was a computer issue (system input lag), but now I understand that internet settings have a significant impact on both the computer and the game (I can now differentiate between mouse and monitor responsiveness, as well as different internet settings on my desktop). Guys, I don't know if anyone can help me. Maybe there's a setup script I can configure via SSH, or a ready-made configuration for my router. I would be incredibly grateful to anyone who can help me configure my internet for the most responsive and enjoyable gaming experience without input lag. I just want to upgrade my Faceit to level 10. I'm currently at level 8 with this issue, and I'm not enjoying the game at all. I would be incredibly grateful and ready to help anyone who can help me! Thanks in advance! I forgot to add my 200 Mbps data plan, and I've also attached a screenshot of the OpenVRT version below. Thank you.

As you can already see, do not trust AI. Don't even bother to ask these questions of any AI agent.

What settings? Please be very specific about what you are changing and the results you are observing.

Let's start by looking at your configs:

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):

Screenshot 2025-10-20 at 8.14.14 PM

Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

Remove "gpt parameters" preferably resetting and re-creating device configuration,
then produce a link to result of bufferbloat test using cable
https://www.waveform.com/tools/bufferbloat
idle latency would be best achievable , eg 13ms = 60fps, using whichever qos you choose. Add 50-100ms per competing wifi access point within range, self included.

root@OpenWrt:~# ubus call system board
at /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/fir{
        "kernel": "6.6.86",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7620A ver:2 eco:6",
        "model": "TP-Link EC220-G5 v2",
        "board_name": "tplink,ec220-g5-v2",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.1",
                "revision": "r28597-0425664679",
                "target": "ramips/mt7620",
                "description": "OpenWrt 24.10.1 r28597-0425664679",
                "builddate": "1744562312"
        }
}
root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdde:14bd:d516::/48'
        option packet_steering '0'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth0.1'
        option mtu '1472'
        option txqueuelen '1000'
        option ipv6 '0'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        list dns '9.9.9.9'
        list dns '1.1.1.1'

config device
        option name 'eth0.2'
        option macaddr ''
        option mtu '1472'
        option txqueuelen '1000'

config interface 'wan'
        option device 'eth0.2'
        option proto 'dhcp'

config interface 'wan6'
        option device 'eth0.2'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '0'

config switch
        option name 'switch1'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch1'
        option vlan '1'
        option ports '0 1 2 4 7t'

config switch_vlan
        option device 'switch1'
        option vlan '2'
        option ports '3 7t'

root@OpenWrt:~# cat /etc/config/wireless
ewall
config wifi-device 'radio0'
        option type 'mac80211'
        option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
        option band '5g'
        option channel '36'
        option htmode 'VHT80'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'Internet2'
        option encryption 'sae-mixed'
        option key '1234567890'
        option ocv '0'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/10180000.wmac'
        option band '2g'
        option channel '1'
        option htmode 'HT20'
        option disabled '1'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

config wifi-iface 'wifinet2'
        option device 'radio0'
        option mode 'ap'
        option ssid 'Internet'
        option encryption 'sae-mixed'
        option key '1234567890'
        option ocv '0'

root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

root@OpenWrt:~# cat /etc/config/firewall

config defaults
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option synflood_protect '1'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-IPSec-ESP'
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option name 'Allow-ISAKMP'
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'type or paste code here
Hello, sorry for the late reply. We might be in different time zones. I followed your instructions and specified the settings below. I only removed my MAC address.I am ready to follow your instructions to get that very coveted improvement!

Hello, yes I can reset all OpenWRT settings to default, the problem is that I can't access that website, and even if I can, I only see the services they provide, but no buffer test.


I'm referring to the settings in this section. If you change all "accept" and "reject" to "drop," the mouse in the game will become very precise and dexterous, but enemies will turn into lightning bolts that are impossible to shoot at, appearing on the screen for a split second and instantly killing you. Honestly, I don't even know what these settings do; I discovered it myself through experimentation.

No need yo reset, your config looks fairly default.

Yes, I didn’t really do anything special, I just added a DNS server and set my acceptable MTU.

Step 1
install luci-app-attendedsysupgrade and upgrade to 24.10.4
Step 2
Do measurements using waveform tests at 3 firewall iffload levels and post the best, explain which.

Your router is not exactly gaming powerhouse. Some qos could help if you have like DSL or 4G with very slow upload.

You can clear MTU, unlikely dhcp server sent you wrongly 1500 and no other customer of sameISP noticed.

The problem is that QOS won't even install on my router because it doesn't have enough built-in memory.

does not have cpu either. Cloud assisted sysupgrade will keep space usage low.

Honestly, I don't really understand all these concepts, I only know the basics. I'm hoping that I can enter the pre-configured settings via SSH to solve all these mouse and game issues. If anything is unclear, I apologize; I'm using a translator.

You need much more cpu power and somewhat more ram to do smart packet scheduling.
Current question is whether firewall offload shortcut reduces cpu load to the degree that bandwidth and latency improves

REF: https://openwrt.org/docs/guide-user/perf_and_log/flow_offloading