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:
parent
19f929e0e0
commit
d3b02e9224
10
openvpn/README.md
Normal file
10
openvpn/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# 使用说明
|
||||
|
||||
## 管理界面
|
||||
|
||||
- 管理界面地址:`https://IP:控制台端口/admin`
|
||||
- 默认用户:`openvpn`
|
||||
- 密码:`可以在 Docker 容器日志中找到(首次初始化运行时生成)`
|
||||
|
||||
> 可以通过查找 pass 关键字获取初始密码
|
||||
类似:`Auto-generated pass = "WHjoYsAd9Ha9m". Setting in db...`
|
||||
21
openvpn/data.yml
Normal file
21
openvpn/data.yml
Normal 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
26
openvpn/latest/data.yml
Normal 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
|
||||
20
openvpn/latest/docker-compose.yml
Normal file
20
openvpn/latest/docker-compose.yml
Normal 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
BIN
openvpn/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
Loading…
x
Reference in New Issue
Block a user