1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-02 15:56:40 +08:00

feat: Add OpenVPN (#2945)

This commit is contained in:
王贺 2025-01-13 23:08:42 +08:00 committed by GitHub
parent 19f929e0e0
commit d3b02e9224
5 changed files with 77 additions and 0 deletions

10
openvpn/README.md Normal file
View File

@ -0,0 +1,10 @@
# 使用说明
## 管理界面
- 管理界面地址:`https://IP:控制台端口/admin`
- 默认用户:`openvpn`
- 密码:`可以在 Docker 容器日志中找到(首次初始化运行时生成)`
> 可以通过查找 pass 关键字获取初始密码
类似:`Auto-generated pass = "WHjoYsAd9Ha9m". Setting in db...`

21
openvpn/data.yml Normal file
View File

@ -0,0 +1,21 @@
name: OpenVPN
tags:
- 实用工具
- 安全
title: 开源 VPN 守护进程
description: 开源 VPN 守护进程
additionalProperties:
key: openvpn
name: OpenVPN
tags:
- Tool
- Security
shortDescZh: 开源 VPN 守护进程
shortDescEn: Open source VPN daemon
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/

26
openvpn/latest/data.yml Normal file
View File

@ -0,0 +1,26 @@
additionalProperties:
formFields:
- default: 943
edit: true
envKey: PANEL_APP_PORT_HTTP
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

View File

@ -0,0 +1,20 @@
services:
openvpn:
image: openvpn/openvpn-as:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}: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

BIN
openvpn/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB