diff --git a/apps/openvpn-as/README.md b/apps/openvpn-as/README.md new file mode 100644 index 00000000..85e21642 --- /dev/null +++ b/apps/openvpn-as/README.md @@ -0,0 +1,17 @@ +# 使用说明 + +管理界面位于 `https://IP:控制台端口/admin`,默认用户为 `openvpn` ,密码可以在 docker 日志中找到(在第一次初始运行时) +- 类似: +``` + Auto-generated pass = "Cj0YsADgHA6n". Setting in db... +``` +*** + +![openvpn-as](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/OpenVPN_logo.svg/2560px-OpenVPN_logo.svg.png) +# OpenVPN Access Server + +[Openvpn-as](https://openvpn.net/access-server/) OpenVPN Access Server, our self-hosted solution, simplifies the rapid deployment of a secure remote access and site-to-site solution with a web-based administration interface and built-in OpenVPN Connect app distribution with bundled connection profiles. + +We built OpenVPN Access Server using the OpenVPN open source core and additional open source software like OpenSSL. This provides full transparency of the critical security and protocol functionality. The community edition creates secure VPN connections using a custom security protocol that utilizes SSL/TLS. With over 60 million downloads to date, the community edition is a community-supported OSS (open-source software) project. + +OpenVPN Access Server maintains compatibility with the open source project, making the deployed VPN immediately usable with OpenVPN protocol-compatible software on various routers and operating systems, as well as Linux. The official OpenVPN Inc.- developed client, OpenVPN Connect, is available for Windows, macOS, Linux, and mobile OS (Android and iOS) environments. diff --git a/apps/openvpn-as/data.yml b/apps/openvpn-as/data.yml new file mode 100644 index 00000000..41953b4a --- /dev/null +++ b/apps/openvpn-as/data.yml @@ -0,0 +1,21 @@ +name: OpenVPN Access Server +tags: + - 实用工具 + - 安全 +title: 开源 VPN 解决方案 +description: 开源 VPN 解决方案 +additionalProperties: + key: openvpn-as + name: OpenVPN Access Server + tags: + - Tool + - Security + shortDescZh: 开源 VPN 解决方案 + shortDescEn: Open-source VPN solution + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://openvpn.net/ + github: https://github.com/OpenVPN/openvpn + document: https://openvpn.net/access-server-manual/introduction/ diff --git a/apps/openvpn-as/latest/.env.sample b/apps/openvpn-as/latest/.env.sample new file mode 100644 index 00000000..14ea3c11 --- /dev/null +++ b/apps/openvpn-as/latest/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="openvpn-as" +PANEL_APP_PORT_CONSOLE="40239" +PANEL_APP_PORT_HTTPS="443" +PANEL_APP_PORT_UDP="1194" diff --git a/apps/openvpn-as/latest/data.yml b/apps/openvpn-as/latest/data.yml new file mode 100644 index 00000000..d93e123c --- /dev/null +++ b/apps/openvpn-as/latest/data.yml @@ -0,0 +1,26 @@ +additionalProperties: + formFields: + - default: 40239 + edit: true + envKey: PANEL_APP_PORT_CONSOLE + labelEn: Console Port + labelZh: 控制台端口 + required: true + rule: paramPort + type: number + - default: 443 + edit: true + envKey: PANEL_APP_PORT_HTTPS + labelEn: HTTPS Port + labelZh: HTTPS 端口 + required: true + rule: paramPort + type: number + - default: 1194 + edit: true + envKey: PANEL_APP_PORT_UDP + labelEn: UDP Port + labelZh: UDP 端口 + required: true + rule: paramPort + type: number \ No newline at end of file diff --git a/apps/openvpn-as/latest/docker-compose.yml b/apps/openvpn-as/latest/docker-compose.yml new file mode 100644 index 00000000..d78a49a9 --- /dev/null +++ b/apps/openvpn-as/latest/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3' +services: + openvpn-as: + image: openvpn/openvpn-as:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_CONSOLE}:943" + - "${PANEL_APP_PORT_HTTPS}:443" + - "${PANEL_APP_PORT_UDP}:1194/udp" + cap_add: + - NET_ADMIN + volumes: + - "./data:/openvpn" + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/openvpn-as/logo.png b/apps/openvpn-as/logo.png new file mode 100644 index 00000000..385bfd2d Binary files /dev/null and b/apps/openvpn-as/logo.png differ