mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 06:13:56 +08:00
🍉 Sync 2026-09-15 01:05:01
This commit is contained in:
1 parent
5a1af7b30a
commit
0dbf9b779b
2 files changed
+14
-6
No files matched your search
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-passwall
|
PKG_NAME:=luci-app-passwall
|
||||||
PKG_VERSION:=26.9.9
|
PKG_VERSION:=26.9.9
|
||||||
PKG_RELEASE:=272
|
PKG_RELEASE:=273
|
||||||
PKG_PO_VERSION:=$(PKG_VERSION)
|
PKG_PO_VERSION:=$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS:= \
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
|||||||
@@ -502,7 +502,7 @@ function gen_config_server(node)
|
|||||||
local settings = nil
|
local settings = nil
|
||||||
local routing = nil
|
local routing = nil
|
||||||
local outbounds = {
|
local outbounds = {
|
||||||
{ protocol = "freedom", tag = "direct", finalRules = {{ action = "allow" }}}, { protocol = "blackhole", tag = "blocked" }
|
{ protocol = "freedom", tag = "direct", settings = { finalRules = {{ action = "allow" }}}}, { protocol = "blackhole", tag = "blocked" }
|
||||||
}
|
}
|
||||||
|
|
||||||
local users = node.users or {}
|
local users = node.users or {}
|
||||||
@@ -650,7 +650,9 @@ function gen_config_server(node)
|
|||||||
interface = node.outbound_node_iface
|
interface = node.outbound_node_iface
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
finalRules = {{ action = "allow" }}
|
settings = {
|
||||||
|
finalRules = {{ action = "allow" }}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sys.call(string.format("mkdir -p %s && touch %s/%s", api.TMP_IFACE_PATH, api.TMP_IFACE_PATH, node.outbound_node_iface))
|
sys.call(string.format("mkdir -p %s && touch %s/%s", api.TMP_IFACE_PATH, api.TMP_IFACE_PATH, node.outbound_node_iface))
|
||||||
else
|
else
|
||||||
@@ -1330,7 +1332,9 @@ function gen_config(var)
|
|||||||
interface = node.iface
|
interface = node.iface
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
finalRules = {{ action = "allow" }}
|
settings = {
|
||||||
|
finalRules = {{ action = "allow" }}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sys.call(string.format("mkdir -p %s && touch %s/%s", api.TMP_IFACE_PATH, api.TMP_IFACE_PATH, node.iface))
|
sys.call(string.format("mkdir -p %s && touch %s/%s", api.TMP_IFACE_PATH, api.TMP_IFACE_PATH, node.iface))
|
||||||
end
|
end
|
||||||
@@ -2041,7 +2045,9 @@ function gen_config(var)
|
|||||||
local direct_outbound = {
|
local direct_outbound = {
|
||||||
protocol = "freedom",
|
protocol = "freedom",
|
||||||
tag = "direct",
|
tag = "direct",
|
||||||
finalRules = {{ action = "allow" }},
|
settings = {
|
||||||
|
finalRules = {{ action = "allow" }}
|
||||||
|
},
|
||||||
streamSettings = {
|
streamSettings = {
|
||||||
sockopt = {
|
sockopt = {
|
||||||
mark = 255,
|
mark = 255,
|
||||||
@@ -2170,7 +2176,9 @@ function gen_proto_config(var)
|
|||||||
table.insert(outbounds, {
|
table.insert(outbounds, {
|
||||||
protocol = "freedom",
|
protocol = "freedom",
|
||||||
tag = "direct",
|
tag = "direct",
|
||||||
finalRules = {{ action = "allow" }},
|
settings = {
|
||||||
|
finalRules = {{ action = "allow" }}
|
||||||
|
},
|
||||||
streamSettings = {
|
streamSettings = {
|
||||||
sockopt = {mark = 255}
|
sockopt = {mark = 255}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user