stun4all, wg4all improve

This commit is contained in:
bol-van
2025-08-11 20:27:39 +03:00
parent 135b152497
commit cd0f1c4bdf

View File

@@ -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()
{