lede/package/lean/luci-app-softethervpn/luasrc/model/cbi/softethervpn.lua
Josef Schlehofer 093f822043
luci-app-softethervpn: update provided links for SoftEtherVPN clients (#8435)
I updated the link for downloading Windows client to download the latest
currently available version instead of using beta version, which is not
good to use in production.

Also, the macOS link led to the OpenVPN server, which was wrong. It should
be a client. It was updated to the latest version as well.
2021-12-15 00:10:16 +08:00

19 lines
1.1 KiB
Lua

local s = require"luci.sys"
local m,s,o
m = Map("softethervpn")
m.title = translate("SoftEther VPN Service")
m.description = translate("SoftEther VPN is an open source, cross-platform, multi-protocol virtual private network solution developed by university of tsukuba graduate student Daiyuu Nobori for master's thesis. <br>can easily set up OpenVPN, IPsec, L2TP, ms-sstp, L2TPv3 and EtherIP servers on the router using the console.")
m:section(SimpleSection).template = "softethervpn/softethervpn_status"
s = m:section(TypedSection, "softether")
s.anonymous = true
o = s:option(Flag, "enable", translate("Enabled"))
o.rmempty = false
o = s:option(DummyValue, "moreinfo", translate("<strong>控制台下载:<a onclick=\"window.open('https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.38-9760-rtm/softether-vpnclient-v4.38-9760-rtm-2021.08.17-windows-x86_x64-intel.exe')\"><br/>Windows-x86_x64-intel.exe</a><a onclick=\"window.open('https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.38-9760-rtm/softether-vpnclient-v4.38-9760-rtm-2021.08.17-macos-x86-32bit.tar.gz')\"><br/>macos-x86-32bit.pkg</a></strong>"))
return m