Update performance settings for openwrt

Add iptables connbytes counter thanks to this comment https://github.com/Waujito/youtubeUnblock/issues/17#issuecomment-2266359878
This commit is contained in:
Vadim Vetrov
2024-08-03 09:38:22 +03:00
parent 1eb95f50f5
commit ba4dce1df1
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/sbin/nft -f
# This file
insert rule inet fw4 mangle_forward tcp dport 443 ct packets < 20 counter queue num 537 bypass
insert rule inet fw4 mangle_forward tcp dport 443 ct original packets < 20 counter queue num 537 bypass
insert rule inet fw4 output mark and 0x8000 == 0x8000 counter accept