diff --git a/apps/softethervpn/README.md b/apps/softethervpn/README.md new file mode 100644 index 00000000..353cb4d6 --- /dev/null +++ b/apps/softethervpn/README.md @@ -0,0 +1,26 @@ +# SoftEther VPN + +||徽章| +|---|---| +|GitLab CI|[![GitLab CI 构建状态](https://gitlab.com/SoftEther/SoftEtherVPN/badges/master/pipeline.svg)](https://gitlab.com/SoftEther/SoftEtherVPN/pipelines)| +|Coverity Scan|[![Coverity Scan 构建状态](https://scan.coverity.com/projects/16304/badge.svg)](https://scan.coverity.com/projects/softethervpn-softethervpn)| +|Cirrus CI|[![Cirrus CI 构建状态](https://api.cirrus-ci.com/github/SoftEtherVPN/SoftEtherVPN.svg)](https://cirrus-ci.com/github/SoftEtherVPN/SoftEtherVPN)| + +SoftEther VPN (开发者版主存储库) +- 一个开源的跨平台多协议 VPN 程序 +https://www.softether.org/ + +此存储库包含实验性代码。欢迎提交拉取请求。 + +稳定版可在以下网址获取: +https://github.com/SoftEtherVPN/SoftEtherVPN_Stable +非开发者用户可以稳定使用。 + +请注意,一些功能,在稳定版中不可用。 + +源代码包 (.zip 和 .tar.gz) 以及稳定版的二进制文件也可以在以下网址获取: +https://www.softether-download.com/ + +版权所有 (c) 所有 GitHub 上 SoftEther VPN 项目中的贡献者。 +版权所有 (c) Daiyuu Nobori、筑波大学 SoftEther 项目和 SoftEther 公司。 + diff --git a/apps/softethervpn/data.yml b/apps/softethervpn/data.yml new file mode 100644 index 00000000..3174a549 --- /dev/null +++ b/apps/softethervpn/data.yml @@ -0,0 +1,21 @@ +name: SoftEtherVPN +tags: + - 实用工具 + - 安全 +title: 开源多协议 VPN 软件 +description: 开源多协议 VPN 软件 +additionalProperties: + key: softethervpn + name: SoftEtherVPN + tags: + - Tool + - Security + shortDescZh: 开源多协议 VPN 软件 + shortDescEn: Open-source multi-protocol VPN software + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://www.softether.org + github: https://github.com/SoftEtherVPN/SoftEtherVPN + document: https://www.softether.org/4-docs diff --git a/apps/softethervpn/latest/.env.sample b/apps/softethervpn/latest/.env.sample new file mode 100644 index 00000000..3a425da9 --- /dev/null +++ b/apps/softethervpn/latest/.env.sample @@ -0,0 +1,13 @@ +CONTAINER_NAME="softethervpn" +SOFTETHER_DATA_PATH="./data/softether_data" +SOFTETHER_LOG_PATH="./data/softether_log" +SOFTETHER_PACKETLOG_PATH="./data/softether_packetlog" +SOFTETHER_SECURITYLOG_PATH="./data/softether_securitylog" +VPN_PORT_1194_UDP=1194 +VPN_PORT_1701_UDP=1701 +VPN_PORT_443=444 +VPN_PORT_4500_UDP=4500 +VPN_PORT_500_UDP=500 +VPN_PORT_53=53 +VPN_PORT_5555=5555 +VPN_PORT_992=992 diff --git a/apps/softethervpn/latest/data.yml b/apps/softethervpn/latest/data.yml new file mode 100644 index 00000000..6563b33d --- /dev/null +++ b/apps/softethervpn/latest/data.yml @@ -0,0 +1,94 @@ +additionalProperties: + formFields: + - default: "53" + edit: true + envKey: VPN_PORT_53 + labelEn: VPN Port 53 + labelZh: VPN 端口 53 + required: true + rule: paramPort + type: number + - default: "444" + edit: true + envKey: VPN_PORT_443 + labelEn: VPN Port 443 + labelZh: VPN 端口 443 + required: true + rule: paramPort + type: number + - default: "992" + edit: true + envKey: VPN_PORT_992 + labelEn: VPN Port 992 + labelZh: VPN 端口 992 + required: true + rule: paramPort + type: number + - default: "1194" + edit: true + envKey: VPN_PORT_1194_UDP + labelEn: VPN Port 1194 (UDP) + labelZh: VPN 端口 1194 (UDP) + required: true + rule: paramPort + type: number + - default: "5555" + edit: true + envKey: VPN_PORT_5555 + labelEn: VPN Port 5555 + labelZh: VPN 端口 5555 + required: true + rule: paramPort + type: number + - default: "500" + edit: true + envKey: VPN_PORT_500_UDP + labelEn: VPN Port 500 (UDP) + labelZh: VPN 端口 500 (UDP) + required: true + rule: paramPort + type: number + - default: "4500" + edit: true + envKey: VPN_PORT_4500_UDP + labelEn: VPN Port 4500 (UDP) + labelZh: VPN 端口 4500 (UDP) + required: true + rule: paramPort + type: number + - default: "1701" + edit: true + envKey: VPN_PORT_1701_UDP + labelEn: VPN Port 1701 (UDP) + labelZh: VPN 端口 1701 (UDP) + required: true + rule: paramPort + type: number + - default: "./data/softether_data" + disabled: true + envKey: SOFTETHER_DATA_PATH + labelEn: SoftEther Data Path + labelZh: SoftEther 数据路径 + required: true + type: text + - default: "./data/softether_log" + disabled: true + envKey: SOFTETHER_LOG_PATH + labelEn: SoftEther Log Path + labelZh: SoftEther 日志路径 + required: true + type: text + - default: "./data/softether_packetlog" + disabled: true + envKey: SOFTETHER_PACKETLOG_PATH + labelEn: SoftEther Packet Log Path + labelZh: SoftEther 数据包日志路径 + required: true + type: text + - default: "./data/softether_securitylog" + disabled: true + envKey: SOFTETHER_SECURITYLOG_PATH + labelEn: SoftEther Security Log Path + labelZh: SoftEther 安全日志路径 + required: true + type: text diff --git a/apps/softethervpn/latest/docker-compose.yml b/apps/softethervpn/latest/docker-compose.yml new file mode 100644 index 00000000..3c76eee3 --- /dev/null +++ b/apps/softethervpn/latest/docker-compose.yml @@ -0,0 +1,30 @@ +services: + softether: + image: "softethervpn/vpnserver:latest" + cap_add: + - NET_ADMIN + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - ${VPN_PORT_53}:53 + - ${VPN_PORT_443}:443 + - ${VPN_PORT_992}:992 + - ${VPN_PORT_1194_UDP}:1194/udp + - ${VPN_PORT_5555}:5555 + - ${VPN_PORT_500_UDP}:500/udp + - ${VPN_PORT_4500_UDP}:4500/udp + - ${VPN_PORT_1701_UDP}:1701/udp + volumes: + - "/etc/localtime:/etc/localtime:ro" + - "/etc/timezone:/etc/timezone:ro" + - ${SOFTETHER_DATA_PATH}:/mnt + - ${SOFTETHER_LOG_PATH}:/root/server_log + - ${SOFTETHER_PACKETLOG_PATH}:/root/packet_log + - ${SOFTETHER_SECURITYLOG_PATH}:/root/security_log + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/softethervpn/logo.png b/apps/softethervpn/logo.png new file mode 100644 index 00000000..1ef3ca8f Binary files /dev/null and b/apps/softethervpn/logo.png differ