Open pavelmakhanko opened 2 months ago
youtube traffic from router should not be handled by youtubeUnblock, normally it should go through the forward mangle chain.
What could be the problem with my device?
Did you have hardware NAT offload enabled on your device? If so, most packets may not reach mangle_forward
chain and may not be processed by the app.
Try to disable NAT offload / "Разгрузка соединений".
There is no hardware offload setting on my device
On SNR-CPE-W4N device, youtube traffic is not hitting the right chains. ` root@OpenWrt:~# nft list ruleset table inet fw4 { chain input { type filter hook input priority filter; policy drop; iif "lo" accept comment "!fw4: Accept traffic from loopback" ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows" tcp flags syn / fin,syn,rst,ack jump syn_flood comment "!fw4: Rate limit TCP syn packets" iifname "br-lan" jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic" iifname "eth0.2" jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic" jump handle_reject }
} `
DISTRIB_ARCH='mipsel_24kc' OpenWrt SNAPSHOT, r27194-a2662309aa 1553 1 root S< 1236 2% 0% /usr/bin/youtubeUnblock --sni-domains=all --faking-strategy=ttl --faking-ttl=4 --fk-winsize=1 root@OpenWrt:~# opkg list | grep kmod-nfnetlink-queue kmod-nfnetlink-queue - 6.6.47-r1
root@OpenWrt:~# opkg list | grep kmod-nft-queue kmod-nft-queue - 6.6.47-r1
root@OpenWrt:~# opkg list | grep kmod-nf-conntrack kmod-nf-conntrack - 6.6.47-r1 kmod-nf-conntrack6 - 6.6.47-r1