亚洲毛片动漫无码不卡_女人扒开腿让男人桶视频在线观看_一级国产精品 免费 观看_欧美首页青青草_狠狠丁香激情久久综合_欧美91成人亚洲播放网站_强奸美女大片免费网站福利视频_黄片高清精品无码

訪客

修改luci-app-frpc讓其設置http/https支持遠程端口

5376 大謀兒 知識探索

修改

/usr/lib/lua/luci/model/cbi/frp

下的

basic.lua和config.lua

修改basic.lua

搜索定位到 e = t:option(DummyValue, "remote_port", translate("Remote Port"))

修改這段為

e = t:option(DummyValue, "remote_port", translate("Remote Port"))
e.width = "10%"
e.cfgvalue = function(t,b)
local t = a.uci:get(i,b,"type")or""
if t==""or b==""then return""end
if t=="tcp" or t=="udp" or t=="http" or t=="https" then
local b = a.uci:get(i,b,"remote_port")or"" return b end
end

修改config.lua

搜索定位到 e = t:taboption("base", Value, "remote_port", translate("Remote Port"))

修改這段為

e = t:taboption("base", Value, "remote_port", translate("Remote Port"))
e.datatype = "port"
e:depends("type", "tcp")
e:depends("type", "udp")
e:depends("type", "http")
e:depends("type", "https")

OK大功告成

 修改luci-app-frpc讓其設置http/https支持遠程端口 知識探索

THE END
相關文章
評論列表
  • 暫時還沒有人評論哦,來占個沙發吧?
發布評論
驗證碼