From cd0f1c4bdfa6e3326d7844031f17adb28bacb78b Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 11 Aug 2025 20:27:39 +0300 Subject: [PATCH] stun4all, wg4all improve --- init.d/custom.d.examples.linux/50-stun4all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/custom.d.examples.linux/50-stun4all b/init.d/custom.d.examples.linux/50-stun4all index 72f33bc..3b64a3c 100644 --- a/init.d/custom.d.examples.linux/50-stun4all +++ b/init.d/custom.d.examples.linux/50-stun4all @@ -18,8 +18,8 @@ zapret_custom_firewall() { # $1 - 1 - run, 0 - stop - local f='-p udp -p udp -m length --length 28: -m u32 --u32' - fw_nfqws_post $1 "$f 0>>22&0x3C@8&0xC0000003=0 && 0>>22&0x3C@12=0x2112A442" "$f 48&0xC0000003=0 && 52=0x2112A442" $QNUM_STUN4ALL + local f='-p udp -m length --length 28: -m u32 --u32' + fw_nfqws_post $1 "$f 0>>22&0x3C@8&0xC0000003=0&&0>>22&0x3C@12=0x2112A442" "$f 48&0xC0000003=0 && 52=0x2112A442" $QNUM_STUN4ALL } zapret_custom_firewall_nft() {