# AuxOpenVPNViewGui
**Repository Path**: pchai/aux-open-vpnview-gui
## Basic Information
- **Project Name**: AuxOpenVPNViewGui
- **Description**: 一个在线管理OpenVpn图形界面,支持客户端和服务端
- **Primary Language**: Shell
- **License**: GPL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 5
- **Forks**: 0
- **Created**: 2025-01-09
- **Last Updated**: 2025-06-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: openvpn, Go语言, shell
## README
# AuxOpenVPNViewGui
#### 介绍
一个在线管理OpenVpn图形界面,支持OpenVpn客户端和服务端在线图形界面管理。
支持Windows、Ubuntu、Debian、AlmaLinux、Rocky Linux、CentOS、Fedora等各个操作系统。
服务端支持账号管理,证书在线管理,在线连接统计等。
请在全新环境下安装,否则会不兼容。

#### 服务端和客户端安装教程
1.使用 wget 命令下载脚本,例如:wget http://sfd.gf5k.com/sdg/openvpn-install.sh。
2.给脚本添加可执行权限:chmod +x open-instal.sh。
3.运行脚本:./open-instal.sh。
#### 命令行操作说明:
```
OpenVpn服务端:
运行服务:systemctl start openvpn-server@server.service
开机启动:systemctl enable openvpn-server@server.service
服务状态:systemctl status openvpn-server@server.service
重启服务:systemctl restart openvpn-server@server.service
停止服务:systemctl stop openvpn-server@server.service
检查日志:journalctl -u openvpn-server@server
OpenVpn客户端:
运行服务:systemctl start openvpn-client@client.service
开机启动:systemctl enable openvpn-client@client.service
服务状态:systemctl status openvpn-client@client.service
重启服务:systemctl restart openvpn-client@client.service
停止服务:systemctl stop openvpn-client@client.service
检查日志:journalctl -u openvpn-client@client
```
注意:Ubuntu、Debian服务名称并非openvpn-server@server.service,而是openvpn@server.service,客户端雷同。
```
AuxOpenVPNViewGui Windows(客户端):
安装:AuxOpenVpnWebUI.exe install
启动:AuxOpenVpnWebUI.exe start
停止:AuxOpenVpnWebUI.exe stop
重启:AuxOpenVpnWebUI.exe restart
卸载:AuxOpenVpnWebUI.exe uninstall
AuxOpenVPNViewGui(服务端):
安装:AuxOpenVpnWebUI-linux-amd64 install -basic-type=server
卸载:AuxOpenVpnWebUI-linux-amd64 uninstall
状态:systemctl status AuxOpenVpnWebUI.service
启动:systemctl start AuxOpenVpnWebUI.service
停止:systemctl stop AuxOpenVpnWebUI.service
重启:systemctl restart AuxOpenVpnWebUI.service
```
注意:AuxOpenVPNViewGui服务端和客户端有启动参数不一样,例如参数:-basic-type=server表示服务端,默认空为客户端,服务端不支持在Windows下运行,如果需要改变启动类型,可以在conf/app.conf配置文件中修改。
#### 使用说明
安装启动成功后,访问管理后台地址如下:
1.管理控制台:http://你的IP:29001
2.默认账号和密码为root,可在配置文件中修改或者登录控制台修改
#### 特技
1. shell 脚本只是辅助快速一键自动化安装OpenVpn环境和依赖,包含AuxOpenVPNViewGui程序。
2. AuxOpenVPNViewGui程序是采用GOLang开发,如果对源码有兴趣可联系我。
3. 关注我的小站分享更多有趣项目 [www.iyune.cn](http://www.iyune.cn)