mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
v1.9.1rc4fix
~修复iptables报错
This commit is contained in:
parent
c85bfc53a0
commit
0b8c0e646d
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -4,5 +4,5 @@ clash_v=v1.7.1
|
||||||
meta_v=v1.18.7
|
meta_v=v1.18.7
|
||||||
singboxp_v=1.10.0-alpha.29-067c81a7
|
singboxp_v=1.10.0-alpha.29-067c81a7
|
||||||
singbox_v=1.9.0
|
singbox_v=1.9.0
|
||||||
versionsh=1.9.1rc4
|
versionsh=1.9.1rc4fix
|
||||||
GeoIP_v=20240921
|
GeoIP_v=20240921
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) Juewuy
|
# Copyright (C) Juewuy
|
||||||
|
|
||||||
version=1.9.1rc4
|
version=1.9.1rc4fix
|
||||||
|
|
||||||
setdir(){
|
setdir(){
|
||||||
dir_avail(){
|
dir_avail(){
|
||||||
|
|
|
@ -916,7 +916,7 @@ start_ipt_route() { #iptables-route通用工具
|
||||||
$1 $w -t $2 -A $4 -m owner --gid-owner $gid -j RETURN
|
$1 $w -t $2 -A $4 -m owner --gid-owner $gid -j RETURN
|
||||||
done
|
done
|
||||||
[ "$firewall_area" = 5 ] && $1 $w -t $2 -A $4 -s $bypass_host -j RETURN
|
[ "$firewall_area" = 5 ] && $1 $w -t $2 -A $4 -s $bypass_host -j RETURN
|
||||||
[ -z "$ports" ] && $1 $w -t $2 -A $4 -m multiport --dports "$mix_port,$redir_port,$tproxy_port" -j RETURN
|
[ -z "$ports" ] && $1 $w -t $2 -A $4 -p tcp -m multiport --dports "$mix_port,$redir_port,$tproxy_port" -j RETURN
|
||||||
#跳过目标保留地址及目标本机网段
|
#跳过目标保留地址及目标本机网段
|
||||||
for ip in $HOST_IP $RESERVED_IP; do
|
for ip in $HOST_IP $RESERVED_IP; do
|
||||||
$1 $w -t $2 -A $4 -d $ip -j RETURN
|
$1 $w -t $2 -A $4 -d $ip -j RETURN
|
||||||
|
|
Loading…
Reference in New Issue
Block a user