update 2023-08-03 16:22:01

This commit is contained in:
github-actions[bot] 2023-08-03 16:22:01 +08:00
parent 634cefad27
commit fe9a29dfed
3 changed files with 8 additions and 2 deletions

View File

@ -86,6 +86,10 @@ start() {
echo no_flow_timeout=${no_flow_timeout} >$DEVCTL
redirect_ip=$(uci get natflow.globals.redirect_ip 2>/dev/null || echo 10.10.10.10)
echo redirect_ip=${redirect_ip} >$DEVCTL
https_redirect_en=$(uci get natflow.globals.https_redirect_en 2>/dev/null || echo 0)
echo https_redirect_en=${https_redirect_en} >$DEVCTL
https_redirect_port=$(uci get natflow.globals.https_redirect_port 2>/dev/null || echo 443)
echo https_redirect_port=${https_redirect_port} >$DEVCTL
echo update_magic >$DEVCTL
}

View File

@ -11,6 +11,8 @@ config natflow 'main'
config globals 'globals'
option redirect_ip '10.10.10.1'
option no_flow_timeout '1800'
option https_redirect_en '0'
option https_redirect_port '443'
config auth
option enabled '1'

View File

@ -21,13 +21,13 @@ define Download/geoip
HASH:=53f12594c23e061745bfd3f1b626885fadcaf8b1712e9dac9ed50405ba3890a0
endef
GEOSITE_VER:=20230730120627
GEOSITE_VER:=20230802231350
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
define Download/geosite
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
URL_FILE:=dlc.dat
FILE:=$(GEOSITE_FILE)
HASH:=a771242f7982f567f77fae485de5978eb5fd89710fd099b2a26023cdd591f6ac
HASH:=61e040ce7304183d678627cd08a30de128a80263e3106b03716fb077a4c03dba
endef
define Package/v2ray-geodata/template