OpenClash: bump to v0.39.7-beta
This commit is contained in:
parent
df7edc8ad3
commit
2dce66fdd1
@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-openclash
|
PKG_NAME:=luci-app-openclash
|
||||||
PKG_VERSION:=0.39.6
|
PKG_VERSION:=0.39.7
|
||||||
PKG_RELEASE:=beta
|
PKG_RELEASE:=beta
|
||||||
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>
|
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>
|
||||||
|
|
||||||
|
|||||||
@ -1128,7 +1128,7 @@ fi
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$en_mode_tun" -ne 1 ] && [ "$en_mode_tun" -ne 2 ]; then
|
if [ -z "$en_mode_tun" ] || [ "$en_mode_tun" -eq 3 ]; then
|
||||||
#tcp
|
#tcp
|
||||||
iptables -t nat -N openclash
|
iptables -t nat -N openclash
|
||||||
iptables -t nat -F openclash
|
iptables -t nat -F openclash
|
||||||
@ -1139,7 +1139,7 @@ if [ "$en_mode_tun" -ne 1 ] && [ "$en_mode_tun" -ne 2 ]; then
|
|||||||
iptables -t nat -A openclash -m set --match-set china_ip_route dst -j RETURN >/dev/null 2>&1
|
iptables -t nat -A openclash -m set --match-set china_ip_route dst -j RETURN >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
iptables -t nat -A openclash -p tcp -j REDIRECT --to-ports "$proxy_port"
|
iptables -t nat -A openclash -p tcp -j REDIRECT --to-ports "$proxy_port"
|
||||||
if [ "$en_mode_tun" -ne 3 ]; then
|
if [ -z "$en_mode_tun" ]; then
|
||||||
iptables -t nat -I PREROUTING -p tcp -d 8.8.8.8 -j REDIRECT --to-ports "$proxy_port"
|
iptables -t nat -I PREROUTING -p tcp -d 8.8.8.8 -j REDIRECT --to-ports "$proxy_port"
|
||||||
iptables -t nat -I PREROUTING -p tcp -d 8.8.4.4 -j REDIRECT --to-ports "$proxy_port"
|
iptables -t nat -I PREROUTING -p tcp -d 8.8.4.4 -j REDIRECT --to-ports "$proxy_port"
|
||||||
fi
|
fi
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user