v1.9.1rc4fix
Some checks failed
core_auto_update / check_version (push) Has been cancelled
core_auto_update / auto_update_singboxp_with_wg (push) Has been cancelled
core_auto_update / cleanup (push) Has been cancelled

~修复iptables报错
This commit is contained in:
juewuy 2024-09-22 17:27:04 +08:00
parent c85bfc53a0
commit 0b8c0e646d
6 changed files with 3 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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

View File

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

View File

@ -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