Skip to content

Commit

Permalink
fix: fix script wrong character
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Sep 5, 2023
1 parent 5f32bc2 commit 806d518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openwrt/files/ua2f.init
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ setup_firewall() {
$IPT_M -A ua2f -p tcp --dport 80 -j CONNMARK --set-mark 44
$IPT_M -A ua2f -m connmark --mark 43 -j RETURN # 不处理标记为非 http 的流
[ "$handle_mmtls" -eq "1" ] || $IPT_M -A ua2f -p tcp --dport 80 -m string --string "/mmtls/" --algo bm -j RETURN # 不处理微信的mmtls
$IPT_M -A ua2f -j NFQUEUE --queue-num 10010 -queue-bypass
$IPT_M -A ua2f -j NFQUEUE --queue-num 10010 --queue-bypass
fi
$IPT_M -A FORWARD -p tcp -m conntrack --ctdir ORIGINAL -j ua2f

Expand Down Expand Up @@ -128,7 +128,7 @@ setup_firewall() {
$IPT6_M -A ua2f -p tcp --dport 80 -j CONNMARK --set-mark 44
$IPT6_M -A ua2f -m connmark --mark 43 -j RETURN # 不处理标记为非 http 的流
[ "$handle_mmtls" -eq "1" ] || $IPT6_M -A ua2f -p tcp --dport 80 -m string --string "/mmtls/" --algo bm -j RETURN # 不处理微信的mmtls
$IPT6_M -A ua2f -j NFQUEUE --queue-num 10010 -queue-bypass
$IPT6_M -A ua2f -j NFQUEUE --queue-num 10010 --queue-bypass
fi
$IPT6_M -A FORWARD -p tcp -m conntrack --ctdir ORIGINAL -j ua2f
fi
Expand Down

0 comments on commit 806d518

Please sign in to comment.